--- source/mupen64plus-core/projects/unix/Makefile	2013-09-30 20:56:00.000000000 -0500
+++ source/mupen64plus-core/projects/unix/Makefile	2013-09-30 20:59:47.000000000 -0500
@@ -206,6 +206,10 @@
   ZLIB_LDLIBS += -lz
 endif
 
+ifeq ($(OS), FREEBSD) # use system zlib on FreeBSD
+  ZLIB_LDLIBS += -lz
+endif
+
 ifeq ($(origin ZLIB_CFLAGS) $(origin ZLIB_LDLIBS), undefined undefined)
   ifeq ($(shell $(PKG_CONFIG) --modversion zlib 2>/dev/null),)
     $(error No zlib development libraries found!)
