don't let symbols from included static libraries (like codec/ilbc) pollute the global...
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 20 Sep 2006 20:13:42 +0000 (20:13 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 20 Sep 2006 20:13:42 +0000 (20:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43360 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index da2197f..68d5649 100644 (file)
@@ -63,7 +63,7 @@ ifneq ($(findstring darwin,$(OSARCH)),)
 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