summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-09-20 20:13:42 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-09-20 20:13:42 +0000
commit9ae105df1d958c1b589912455f862ec5c3ad51c5 (patch)
tree11f8c8fc25fd92ec790c2f3f998496d50280d6f7 /main/Makefile
parent61e4465f49e010319faad860ddaf12287d192ce8 (diff)
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
Diffstat (limited to 'main/Makefile')
-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