diff options
author | David Robillard <d@drobilla.net> | 2021-01-11 14:21:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-11 14:21:49 +0100 |
commit | 71a2ff5170caaa052814cce19b3de927d10d0e24 (patch) | |
tree | f6e61ba9c9014b591c43877e28a1bcc70b18609e | |
parent | 830c41e97938bd4bbf7422718bbc90df750b9d78 (diff) | |
download | lilv-71a2ff5170caaa052814cce19b3de927d10d0e24.tar.gz lilv-71a2ff5170caaa052814cce19b3de927d10d0e24.tar.bz2 lilv-71a2ff5170caaa052814cce19b3de927d10d0e24.zip |
Fix test build for Windows
-rw-r--r-- | wscript | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -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) |