don't use -l libs from apr-config as dependencies in the Makefile
This commit is contained in:
parent
c4f38f8d0d
commit
2508ae98bf
12
Makefile.am
12
Makefile.am
|
@ -150,8 +150,8 @@ libfreeswitch_spandsp_la_CFLAGS = -Ilibs/spandsp/src $(CORE_CFLAGS) $(AM_CFLAGS
|
|||
CORE_LIBS+=libfreeswitch_spandsp.la
|
||||
lib_LTLIBRARIES = libfreeswitch.la
|
||||
libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(SQLITE_CFLAGS) $(CURL_CFLAGS) $(PCRE_CFLAGS) $(SPEEX_CFLAGS) $(LIBEDIT_CFLAGS) $(openssl_CFLAGS) $(AM_CFLAGS)
|
||||
libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_LDFLAGS) -no-undefined
|
||||
libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(SQLITE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS)
|
||||
libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_LDFLAGS) -no-undefined $(APR_LIBS)
|
||||
libfreeswitch_la_LIBADD = $(CORE_LIBS) $(SQLITE_LIBS) $(CURL_LIBS) $(PCRE_LIBS) $(SPEEX_LIBS) $(LIBEDIT_LIBS) $(openssl_LIBS) $(PLATFORM_CORE_LIBS)
|
||||
libfreeswitch_la_DEPENDENCIES = $(BUILT_SOURCES)
|
||||
|
||||
if HAVE_ODBC
|
||||
|
@ -332,8 +332,8 @@ fs_cli_LDFLAGS = $(AM_LDFLAGS) -lpthread $(ESL_LDFLAGS) -lm $(LIBEDIT_LIBS)
|
|||
##
|
||||
fs_encode_SOURCES = src/fs_encode.c
|
||||
fs_encode_CFLAGS = $(AM_CFLAGS)
|
||||
fs_encode_LDFLAGS = $(AM_LDFLAGS)
|
||||
fs_encode_LDADD = libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
|
||||
fs_encode_LDFLAGS = $(AM_LDFLAGS) $(APR_LIBS)
|
||||
fs_encode_LDADD = libfreeswitch.la $(CORE_LIBS)
|
||||
|
||||
if HAVE_ODBC
|
||||
fs_encode_LDADD += $(ODBC_LIB_FLAGS)
|
||||
|
@ -345,8 +345,8 @@ endif
|
|||
##
|
||||
tone2wav_SOURCES = src/tone2wav.c
|
||||
tone2wav_CFLAGS = $(AM_CFLAGS)
|
||||
tone2wav_LDFLAGS = $(AM_LDFLAGS)
|
||||
tone2wav_LDADD = libfreeswitch.la $(CORE_LIBS) $(APR_LIBS)
|
||||
tone2wav_LDFLAGS = $(AM_LDFLAGS) $(APR_LIBS)
|
||||
tone2wav_LDADD = libfreeswitch.la $(CORE_LIBS)
|
||||
|
||||
if HAVE_ODBC
|
||||
tone2wav_LDADD += $(ODBC_LIB_FLAGS)
|
||||
|
|
Loading…
Reference in New Issue