diff options
author | David Robillard <d@drobilla.net> | 2019-04-13 15:24:45 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 15:45:24 +0200 |
commit | f48f9d69a541d758dc9928c0c89eae46819e660f (patch) | |
tree | 02be74793112d8b25a21728d326fe5d90afcf42a /src/server/wscript | |
parent | 72eb24e672bc4fb7f3c1102f2b95c01527688afd (diff) | |
download | ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.tar.gz ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.tar.bz2 ingen-f48f9d69a541d758dc9928c0c89eae46819e660f.zip |
Clean up symbol table
Diffstat (limited to 'src/server/wscript')
-rw-r--r-- | src/server/wscript | 7 |
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) |