From 05c7bd4be9f68872864e5fb31e359503e765d716 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 9 Jan 2016 10:26:12 -0500 Subject: [PATCH] Don't export (all) symbols from included static lib on Linux/Mac. --- AMBuildScript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index 2b49e0c1..a4142c9b 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -216,7 +216,7 @@ class SMConfig(object): '-Wno-overloaded-virtual', '-fvisibility-inlines-hidden', ] - cxx.linkflags += ['-m32'] + cxx.linkflags += ['-m32', '-Wl,--exclude-libs,ALL'] have_gcc = cxx.vendor == 'gcc' have_clang = cxx.vendor == 'clang'