mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
fix build error due to missing zlib linking when using libtool 2.2 or later
This commit is contained in:
parent
0ddd0c25a6
commit
da195caa67
@ -353,7 +353,6 @@ AC_SUBST(PA_LIBS)
|
|||||||
|
|
||||||
AM_CONDITIONAL([ENABLE_ZRTP],[test "x$enable_zrtp" != "xno"])
|
AM_CONDITIONAL([ENABLE_ZRTP],[test "x$enable_zrtp" != "xno"])
|
||||||
|
|
||||||
|
|
||||||
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
|
AM_CONDITIONAL([WANT_DEBUG],[test "${enable_debug}" = "yes"])
|
||||||
|
|
||||||
AC_ARG_ENABLE(core-odbc-support,
|
AC_ARG_ENABLE(core-odbc-support,
|
||||||
@ -363,6 +362,11 @@ if test "$ac_cv_found_odbc" = "yes" ; then
|
|||||||
enable_core_odbc_support="yes"
|
enable_core_odbc_support="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_CHECK_LIB(z, inflateReset, have_libz=yes, have_libz=no)
|
||||||
|
if test "x$have_libz" = "xyes" ; then
|
||||||
|
APR_ADDTO(SWITCH_AM_LDFLAGS, -lz)
|
||||||
|
fi
|
||||||
|
|
||||||
ESL_LDFLAGS=
|
ESL_LDFLAGS=
|
||||||
PLATFORM_CORE_DEPLIBS=
|
PLATFORM_CORE_DEPLIBS=
|
||||||
# tweak platform specific flags
|
# tweak platform specific flags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user