]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Avoid building static version of modules (e.g. mod_enum.a) by adding the "-shared...
authorStefan Knoblich <stkn@freeswitch.org>
Sun, 10 Jan 2010 00:27:48 +0000 (00:27 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Sun, 10 Jan 2010 00:27:48 +0000 (00:27 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16225 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_enum/Makefile.am
src/mod/applications/mod_expr/Makefile.am
src/mod/applications/mod_stress/Makefile.am
src/mod/applications/mod_t38gateway/Makefile.am
src/mod/asr_tts/mod_unimrcp/Makefile.am
src/mod/endpoints/mod_iax/Makefile.am
src/mod/endpoints/mod_skypiax/Makefile.am
src/mod/endpoints/mod_sofia/Makefile.am

index beea7e24161de547723fa937b1b85da8771685fd..65199901d0d306b7d413ccde53e83be3fac4a548 100644 (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
index c5915b55d0e2fc1acd88646a534aca0cdecb7833..d997352208a180eafdd75bde5163b000197551d3 100644 (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
index a284c2fd21ef6a122b398dfab0e9070068ae4adb..14f7d363c994347075e5fd2a6c5c7f9395673fcb 100644 (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
index 5355d09c03e39cd29f8410c6c1316c32a50ce363..31367e30e54e6495c642d5192077e28c25e0ddc5 100644 (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
index 07cea2f512982c5ba7c69bd4c0bbd5d8a9602c71..ca75d0ba720cd6732bb422906d739ca28ead3e1c 100644 (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
index b9a4f767b1175d85b2e45edecdad9a6a7ff78c4c..728c1aa29c768e49719a226959ecfaee36467674 100644 (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
index 220c8f8c5fc97faae299aa9b0fbbb4117f3a418d..017576fc5c209fa1c60e3af6fde3e014e4305bf0 100644 (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
index bd6a25285865cf9e31c72e51be2d09c693ad833f..2fab206ea8bfe508b32c2ff730aec7d204c89374 100644 (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