BNPH-353: avoid adding linker flags as make targets
This commit is contained in:
parent
f9337a6a70
commit
4a7e3ebc31
|
@ -139,7 +139,7 @@ endif
|
|||
|
||||
if HAVE_LIBEDIT
|
||||
CORE_CFLAGS += -I$(switch_srcdir)/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
|
||||
CORE_LIBS += libs/libedit/src/.libs/libedit.a $(TINFO_LIBS)
|
||||
CORE_LIBS += libs/libedit/src/.libs/libedit.a
|
||||
endif
|
||||
|
||||
if ENABLE_TIMERFD_WRAPPER
|
||||
|
@ -159,6 +159,10 @@ libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS) $(PLATFORM_CORE_LDF
|
|||
libfreeswitch_la_LIBADD = $(CORE_LIBS) $(APR_LIBS) $(PLATFORM_CORE_LIBS)
|
||||
libfreeswitch_la_DEPENDENCIES = $(BUILT_SOURCES)
|
||||
|
||||
if HAVE_LIBEDIT
|
||||
libfreeswitch_la_LIBADD += $(TINFO_LIBS)
|
||||
endif
|
||||
|
||||
if HAVE_ODBC
|
||||
libfreeswitch_la_LDFLAGS += $(ODBC_LIB_FLAGS)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue