summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 9270c17..2835915 100644
--- a/wscript
+++ b/wscript
@@ -109,7 +109,7 @@ def build(bld):
obj.target = 'slv2'
obj.vnum = SLV2_LIB_VERSION
obj.install_path = '${LIBDIR}'
- obj.ccflags = [ '-ldl' ]
+ obj.ccflags = [ '-ldl', '-fvisibility=hidden', '-DSLV2_SHARED', '-DSLV2_INTERNAL' ]
autowaf.use_lib(bld, obj, 'REDLAND LV2CORE')
if bld.env['BUILD_TESTS']: