[asterisk-commits] kpfleming: trunk r43360 - /trunk/main/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Sep 20 13:13:43 MST 2006


Author: kpfleming
Date: Wed Sep 20 15:13:42 2006
New Revision: 43360

URL: http://svn.digium.com/view/asterisk?rev=43360&view=rev
Log:
don't let symbols from included static libraries (like codec/ilbc) pollute the global namespace when those modules are embedded

Modified:
    trunk/main/Makefile

Modified: trunk/main/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/main/Makefile?rev=43360&r1=43359&r2=43360&view=diff
==============================================================================
--- trunk/main/Makefile (original)
+++ trunk/main/Makefile Wed Sep 20 15:13:42 2006
@@ -63,7 +63,7 @@
 else
 # These are used for all but Darwin
   ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
-    ASTLINK+=-Wl,--export-dynamic
+    ASTLINK+=-Wl,--export-dynamic -Wl,--exclude-libs -Wl,ALL
   else
     ASTLINK+=${GC_LDFLAGS}
   endif



More information about the asterisk-commits mailing list