summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript22
1 files changed, 15 insertions, 7 deletions
diff --git a/wscript b/wscript
index 7005967..9810fed 100644
--- a/wscript
+++ b/wscript
@@ -357,7 +357,7 @@ def build(bld):
target = 'lilv-%s' % LILV_MAJOR_VERSION,
vnum = LILV_VERSION,
install_path = '${LIBDIR}',
- defines = ['LILV_INTERNAL'],
+ defines = ['LILV_INTERNAL', 'ZIX_STATIC'],
cflags = libflags,
lib = lib,
uselib = 'SERD SORD SRATOM LV2')
@@ -372,7 +372,10 @@ def build(bld):
target = 'lilv-%s' % LILV_MAJOR_VERSION,
vnum = LILV_VERSION,
install_path = '${LIBDIR}',
- defines = defines + ['LILV_STATIC', 'LILV_INTERNAL'],
+ defines = defines + ['LILV_STATIC',
+ 'LILV_INTERNAL',
+ 'ZIX_STATIC',
+ 'ZIX_INTERNAL'],
uselib = 'SERD SORD SRATOM LV2')
# Python bindings
@@ -411,7 +414,7 @@ def build(bld):
name = p,
target = 'test/%s.lv2/%s' % (p, p),
install_path = None,
- defines = defines + ['LILV_STATIC'],
+ defines = defines + ['LILV_STATIC', 'ZIX_STATIC'],
cflags = test_cflags,
linkflags = test_linkflags,
lib = test_libs,
@@ -428,7 +431,7 @@ def build(bld):
includes = ['.', 'include', './src'],
use = 'liblilv_profiled',
install_path = None,
- defines = defines + ['LILV_STATIC'],
+ defines = defines + ['LILV_STATIC', 'ZIX_STATIC'],
cflags = test_cflags,
linkflags = test_linkflags,
lib = test_libs,
@@ -451,7 +454,11 @@ def build(bld):
name = 'liblilv_profiled',
target = 'lilv_profiled',
install_path = None,
- defines = defines + ['LILV_STATIC', 'LILV_INTERNAL'],
+ defines = defines + ['LILV_STATIC',
+ 'LILV_INTERNAL',
+ 'ZIX_STATIC',
+ 'ZIX_INTERNAL',
+ ],
cflags = test_cflags,
linkflags = test_linkflags,
lib = test_libs,
@@ -475,7 +482,8 @@ def build(bld):
defines = (defines +
['LILV_STATIC'] +
['LILV_TEST_BUNDLE=\"%s/\"' % bpath] +
- ['LILV_TEST_DIR=\"%s/\"' % testdir]),
+ ['LILV_TEST_DIR=\"%s/\"' % testdir] +
+ ['ZIX_STATIC']),
cflags = test_cflags,
linkflags = test_linkflags)
@@ -489,7 +497,7 @@ def build(bld):
uselib = 'SERD SORD SRATOM LV2',
target = 'test/lilv_cxx_test',
install_path = None,
- defines = ['LILV_STATIC'],
+ defines = ['LILV_STATIC', 'ZIX_STATIC'],
cxxflags = test_cflags,
linkflags = test_linkflags)