summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-05 20:11:04 +0000
committerDavid Robillard <d@drobilla.net>2010-03-05 20:11:04 +0000
commit4d2cf9582ba6c5e9cdb29b07427934b2f1e0ef02 (patch)
tree0fe2c738a54718ae1c5dc3d5a905308b58fe69d0 /wscript
parentd8437709d6f69b4952993a6794313edb38361a53 (diff)
downloadlilv-4d2cf9582ba6c5e9cdb29b07427934b2f1e0ef02.tar.gz
lilv-4d2cf9582ba6c5e9cdb29b07427934b2f1e0ef02.tar.bz2
lilv-4d2cf9582ba6c5e9cdb29b07427934b2f1e0ef02.zip
Hide symbols by default and explicitly export API (clean ABI).
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2530 a436a847-0d15-0410-975c-d299462d15a1
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']: