aboutsummaryrefslogtreecommitdiffstats
path: root/src/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/wscript')
-rw-r--r--src/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wscript b/src/wscript
index 464540af..dd7779b3 100644
--- a/src/wscript
+++ b/src/wscript
@@ -41,6 +41,7 @@ def build(bld):
vnum = bld.env.INGEN_VERSION,
install_path = '${LIBDIR}',
lib = lib,
- cxxflags = bld.env.PTHREAD_CFLAGS + bld.env.INGEN_TEST_CXXFLAGS,
+ cxxflags = (['-fvisibility=hidden'] +
+ bld.env.PTHREAD_CFLAGS + bld.env.INGEN_TEST_CXXFLAGS),
linkflags = bld.env.PTHREAD_LINKFLAGS + bld.env.INGEN_TEST_LINKFLAGS)
autowaf.use_lib(bld, obj, 'LV2 LILV RAUL SERD SORD SRATOM')