summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 16:05:37 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 16:06:01 +0200
commitde6492738adf1794bf5fa39c1fe1ebbd167727ac (patch)
treeb369f1272d806f9f321afae413ac5c1ffa79f811 /wscript
parentdfee534c4e8c93ed84840678d74432cc17347d96 (diff)
parentf36ec712b405c26e09aa67e36f2a1d243e7dcc79 (diff)
downloadsratom-de6492738adf1794bf5fa39c1fe1ebbd167727ac.tar.gz
sratom-de6492738adf1794bf5fa39c1fe1ebbd167727ac.tar.bz2
sratom-de6492738adf1794bf5fa39c1fe1ebbd167727ac.zip
Update autowaf
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 4 insertions, 5 deletions
diff --git a/wscript b/wscript
index 490cd5f..0f52a84 100644
--- a/wscript
+++ b/wscript
@@ -76,13 +76,13 @@ def build(bld):
source = lib_source,
includes = ['.', './src'],
lib = libs,
+ uselib = 'SERD SORD LV2',
name = 'libsratom',
target = 'sratom-%s' % SRATOM_MAJOR_VERSION,
vnum = SRATOM_VERSION,
install_path = '${LIBDIR}',
defines = defines + ['SRATOM_SHARED', 'SRATOM_INTERNAL'],
cflags = libflags)
- autowaf.use_lib(bld, obj, 'SERD SORD LV2')
# Static library
if bld.env.BUILD_STATIC:
@@ -91,12 +91,12 @@ def build(bld):
source = lib_source,
includes = ['.', './src'],
lib = libs,
+ uselib = 'SERD SORD LV2',
name = 'libsratom_static',
target = 'sratom-%s' % SRATOM_MAJOR_VERSION,
vnum = SRATOM_VERSION,
install_path = '${LIBDIR}',
defines = defines + ['SRATOM_INTERNAL'])
- autowaf.use_lib(bld, obj, 'SERD SORD LV2')
if bld.env.BUILD_TESTS:
test_libs = libs
@@ -111,13 +111,13 @@ def build(bld):
source = lib_source,
includes = ['.', './src'],
lib = test_libs,
+ uselib = 'SERD SORD LV2',
name = 'libsratom_profiled',
target = 'sratom_profiled',
install_path = '',
defines = defines + ['SRATOM_INTERNAL'],
cflags = test_cflags,
linkflags = test_linkflags)
- autowaf.use_lib(bld, obj, 'SERD SORD LV2')
# Unit test program
obj = bld(features = 'c cprogram',
@@ -125,14 +125,13 @@ def build(bld):
includes = ['.', './src'],
use = 'libsratom_profiled',
lib = test_libs,
+ uselib = 'SERD SORD LV2',
target = 'sratom_test',
install_path = '',
defines = defines,
cflags = test_cflags,
linkflags = test_linkflags)
- autowaf.use_lib(bld, obj, 'SERD SORD LV2')
-
# Documentation
autowaf.build_dox(bld, 'SRATOM', SRATOM_VERSION, top, out)