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:
Anthony Minessale 2007-05-10 21:42:16 +00:00
parent c12c710771
commit 6b1f10b9e9
2 changed files with 3 additions and 5 deletions

View File

@ -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 \

View File

@ -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