forked from Mirrors/freeswitch
make sofia-sip a conv. lib so we get their libs when we link
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5139 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c12c710771
commit
6b1f10b9e9
@ -30,7 +30,7 @@ DIST_SUBDIRS = $(SUBDIRS) docs
|
||||
|
||||
DOXYGEN = doxygen
|
||||
|
||||
lib_LTLIBRARIES = libsofia-sip-ua.la
|
||||
noinst_LTLIBRARIES = libsofia-sip-ua.la
|
||||
|
||||
libsofia_sip_ua_la_SOURCES =
|
||||
libsofia_sip_ua_la_LIBADD = bnf/libbnf.la \
|
||||
|
@ -12,9 +12,7 @@ moddir=$(prefix)/mod
|
||||
|
||||
MODNAME=mod_sofia
|
||||
|
||||
BASE=../../../..
|
||||
|
||||
SOFIA_DIR=$(BASE)/libs/sofia-sip
|
||||
SOFIA_DIR=$(switch_builddir)/libs/sofia-sip
|
||||
SOFIAUA_DIR=$(SOFIA_DIR)/libsofia-sip-ua
|
||||
SOFIALA=$(SOFIAUA_DIR)/libsofia-sip-ua.la
|
||||
|
||||
@ -31,7 +29,7 @@ mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/soa -I$(SOFIAUA_DIR)/sresolv
|
||||
mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/stun -I$(SOFIAUA_DIR)/su
|
||||
mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/tport -I$(SOFIAUA_DIR)/url
|
||||
mod_sofia_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(SOFIALA)
|
||||
mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined -lssl -lcrypto -ldl -lz -lrt -lpthread
|
||||
mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined
|
||||
|
||||
if ADD_ODBC
|
||||
mod_sofia_la_CFLAGS += -DSWITCH_HAVE_ODBC
|
||||
|
Loading…
Reference in New Issue
Block a user