From: Kevin P. Fleming Date: Wed, 20 Sep 2006 20:13:42 +0000 (+0000) Subject: don't let symbols from included static libraries (like codec/ilbc) pollute the global... X-Git-Tag: 1.4.0-beta1~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ae105df1d958c1b589912455f862ec5c3ad51c5;p=thirdparty%2Fasterisk.git don't let symbols from included static libraries (like codec/ilbc) pollute the global namespace when those modules are embedded git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43360 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/Makefile b/main/Makefile index da2197f9b9..68d5649418 100644 --- a/main/Makefile +++ b/main/Makefile @@ -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