move termcap depend into libedit mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5067 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5813ef7d94
commit
35dafc3574
15
Makefile.am
15
Makefile.am
|
@ -110,11 +110,6 @@ library_include_HEADERS += src/include/switch_odbc.h
|
|||
CORE_LIBS += -lodbc
|
||||
endif
|
||||
|
||||
if ADD_LIBEDIT
|
||||
CORE_CFLAGS += -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT
|
||||
CORE_LIBS += libs/libedit/src/.libs/libedit.a
|
||||
endif
|
||||
|
||||
lib_LTLIBRARIES = libfreeswitch.la
|
||||
libfreeswitch_la_CFLAGS = $(CORE_CFLAGS) $(AM_CFLAGS)
|
||||
libfreeswitch_la_LDFLAGS = -version-info 1:0:0 $(AM_LDFLAGS)
|
||||
|
@ -132,7 +127,15 @@ freeswitch_SOURCES = src/switch.c
|
|||
nodist_freeswitch_SOURCES = src/include/switch_version.h
|
||||
freeswitch_CFLAGS = $(AM_CFLAGS)
|
||||
freeswitch_LDFLAGS = $(AM_LDFLAGS) -rpath $(libdir)
|
||||
freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la -ltermcap
|
||||
freeswitch_LDADD = libfreeswitch.la libs/apr/libapr-1.la
|
||||
|
||||
|
||||
if ADD_LIBEDIT
|
||||
CORE_CFLAGS += -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT
|
||||
CORE_LIBS += libs/libedit/src/.libs/libedit.a
|
||||
freeswitch_LDADD += -ltermcap
|
||||
endif
|
||||
|
||||
|
||||
|
||||
libs/libedit/Makefile:
|
||||
|
|
Loading…
Reference in New Issue