Avoid building static version of modules (e.g. mod_enum.a) by adding the "-shared" libtool option.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16225 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Stefan Knoblich 2010-01-10 00:27:48 +00:00
parent 35f7d87fac
commit c70f2d7e9f
8 changed files with 8 additions and 8 deletions

View File

@ -11,4 +11,4 @@ mod_enum_la_SOURCES += $(UDNS_DIR)/udns_rr_a.c $(UDNS_DIR)/udns_rr_ptr.c $(UDNS_
mod_enum_la_SOURCES += $(UDNS_DIR)/udns_rr_srv.c $(UDNS_DIR)/udns_rr_naptr.c $(UDNS_DIR)/udns_codes.c $(UDNS_DIR)/udns_resolver.c
mod_enum_la_CFLAGS = $(AM_CFLAGS)
mod_enum_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_enum_la_LDFLAGS = -avoid-version -module -no-undefined
mod_enum_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -5,4 +5,4 @@ mod_LTLIBRARIES = mod_expr.la
mod_expr_la_SOURCES = mod_expr.c expreval.c exprinit.c exprobj.c exprutil.c exprfunc.c exprmem.c exprpars.c exprval.c
mod_expr_la_CFLAGS = $(AM_CFLAGS)
mod_expr_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_expr_la_LDFLAGS = -avoid-version -module -no-undefined -lm
mod_expr_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lm

View File

@ -5,4 +5,4 @@ mod_LTLIBRARIES = mod_stress.la
mod_stress_la_SOURCES = mod_stress.cpp FFTReal.cpp
mod_stress_la_CFLAGS = $(AM_CFLAGS)
mod_stress_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_stress_la_LDFLAGS = -avoid-version -module -no-undefined
mod_stress_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -5,4 +5,4 @@ mod_LTLIBRARIES = mod_t38gateway.la
mod_t38gateway_la_SOURCES = mod_t38gateway.c udptl.c
mod_t38gateway_la_CFLAGS = $(AM_CFLAGS)
mod_t38gateway_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_t38gateway_la_LDFLAGS = -avoid-version -module -no-undefined
mod_t38gateway_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -29,7 +29,7 @@ mod_unimrcp_la_CFLAGS += -I$(UNIMRCP_DIR)/libs/mpf/include
mod_unimrcp_la_CFLAGS += -I$(UNIMRCP_DIR)/libs/apr-toolkit/include
mod_unimrcp_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(UNIMRCPLA) $(switch_builddir)/libs/apr/libapr-1.la
mod_unimrcp_la_LDFLAGS = -avoid-version -module -no-undefined
mod_unimrcp_la_LDFLAGS = -avoid-version -module -no-undefined -shared
if ISMAC
mod_unimrcp_la_LDFLAGS += -framework CoreFoundation -framework SystemConfiguration

View File

@ -5,4 +5,4 @@ mod_LTLIBRARIES = mod_iax.la
mod_iax_la_SOURCES = mod_iax.c iax2-parser.c iax.c md5.c jitterbuf.c iax-mutex.c
mod_iax_la_CFLAGS = $(AM_CFLAGS) -I. -DNEWJB -DLIBIAX -DDEBUG_SUPPORT
mod_iax_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_iax_la_LDFLAGS = -avoid-version -module -no-undefined
mod_iax_la_LDFLAGS = -avoid-version -module -no-undefined -shared

View File

@ -4,4 +4,4 @@ mod_LTLIBRARIES = mod_skypiax.la
mod_skypiax_la_SOURCES = mod_skypiax.c skypiax_protocol.c
mod_skypiax_la_CFLAGS = $(AM_CFLAGS) -DSKYPIAX_SVN_VERSION=\"`cat $(switch_builddir)/.version`\"
mod_skypiax_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_skypiax_la_LDFLAGS = -avoid-version -module -no-undefined -lX11
mod_skypiax_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lX11

View File

@ -30,7 +30,7 @@ mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/sresolv -I$(SOFIAUA_BUILDDIR)/sresolv
mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/su -I$(SOFIAUA_BUILDDIR)/su
mod_sofia_la_CFLAGS += -I$(SOFIAUA_DIR)/url -I$(SOFIAUA_BUILDDIR)/url
mod_sofia_la_LIBADD = $(switch_builddir)/libfreeswitch.la $(SOFIALA)
mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined
mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined -shared
if ADD_ODBC
mod_sofia_la_CFLAGS += -DSWITCH_HAVE_ODBC