]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6189: this should put -lz in the right place.
authorMichael Jerris <mike@jerris.com>
Wed, 5 Feb 2014 18:39:38 +0000 (13:39 -0500)
committerMichael Jerris <mike@jerris.com>
Wed, 5 Feb 2014 18:39:43 +0000 (13:39 -0500)
configure.in

index c5a08c9ba5ed69019b1d8f6a346f6f7bfb0d64ff..533c2919ce10f3b22d4328189010347463897377 100644 (file)
@@ -477,6 +477,7 @@ AM_CONDITIONAL([ENABLE_TIMERFD_WRAPPER],[test "x$enable_timer_fd_wrapper" != "xn
 AC_CHECK_LIB(z, inflateReset, have_libz=yes, AC_MSG_ERROR([no usable zlib; please install zlib devel package or equivalent]))
 if test "x$have_libz" = "xyes"  ; then
 APR_ADDTO(SWITCH_AM_LDFLAGS, -lz)
+APR_ADDTO([PLATFORM_CORE_LIBS], [-lz])
 fi
 
 AC_CHECK_LIB(jpeg, jpeg_std_error,, AC_MSG_ERROR([no usable libjpeg; please install libjpeg devel package or equivalent]))