aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/wscript')
-rw-r--r--src/server/wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/wscript b/src/server/wscript
index 8d1ec90d..2f95148a 100644
--- a/src/server/wscript
+++ b/src/server/wscript
@@ -74,7 +74,7 @@ def build(bld):
target = 'ingen_jack',
install_path = '${LIBDIR}',
use = 'libingen_server',
- cxxflags = bld.env.PTHREAD_CFLAGS,
+ cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS,
linkflags = bld.env.PTHREAD_LINKFLAGS)
autowaf.use_lib(bld, obj, core_libs + ' JACK')
@@ -86,7 +86,7 @@ def build(bld):
target = 'ingen_portaudio',
install_path = '${LIBDIR}',
use = 'libingen_server',
- cxxflags = bld.env.PTHREAD_CFLAGS,
+ cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS,
linkflags = bld.env.PTHREAD_LINKFLAGS)
autowaf.use_lib(bld, obj, core_libs + ' PORTAUDIO')
@@ -94,11 +94,12 @@ def build(bld):
if bld.env.INGEN_BUILD_LV2:
obj = bld(features = 'cxx cxxshlib',
source = ' ingen_lv2.cpp ',
+ cflags = ['-fvisibility=hidden'],
includes = ['.', '../..'],
name = 'libingen_lv2',
target = 'ingen_lv2',
install_path = '${LV2DIR}/ingen.lv2/',
use = 'libingen libingen_server',
- cxxflags = bld.env.PTHREAD_CFLAGS,
+ cxxflags = ['-fvisibility=hidden'] + bld.env.PTHREAD_CFLAGS,
linkflags = bld.env.PTHREAD_LINKFLAGS)
autowaf.use_lib(bld, obj, core_libs)