aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 20:13:42 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 20:13:42 +0000
commitcd937b3b07bf42588c703c1d779c1ecb51b774c4 (patch)
tree11f8c8fc25fd92ec790c2f3f998496d50280d6f7 /main
parentbd6af491b5a499d735d3abd3ffbdf08d8beb3fcc (diff)
don't let symbols from included static libraries (like codec/ilbc) pollute the global namespace when those modules are embedded
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43360 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Makefile b/main/Makefile
index da2197f9b..68d564941 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