aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-21 13:49:56 +0200
committerDavid Robillard <d@drobilla.net>2019-04-21 14:36:26 +0200
commit9b7bfdd92d9a12b0d7db59f0ec0bb790fb827406 (patch)
treea88fa4e0beaef735f99e001111cdf8375ee59833 /wscript
parente103a630847a401523074ce1023134f09668519b (diff)
parente648d691275c23ed7935963052255cd44d738499 (diff)
downloadlv2-9b7bfdd92d9a12b0d7db59f0ec0bb790fb827406.tar.xz
Update autowaf
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 5 insertions, 2 deletions
diff --git a/wscript b/wscript
index c28c55b..b432f95 100644
--- a/wscript
+++ b/wscript
@@ -94,6 +94,9 @@ def configure(conf):
and not conf.is_defined('HAVE_GCOV')):
conf.check_cc(lib='gcov', define_name='HAVE_GCOV', mandatory=False)
+ autowaf.set_lib_env(conf, 'lv2', VERSION, has_objects=False)
+ autowaf.set_local_lib(conf, 'lv2', has_objects=False)
+
if conf.env.BUILD_PLUGINS:
for i in ['eg-amp.lv2',
'eg-fifths.lv2',
@@ -109,8 +112,6 @@ def configure(conf):
except Exception as e:
Logs.warn('Configuration failed, not building %s (%s)' % (i, e))
- autowaf.set_lib_env(conf, 'lv2', VERSION, has_objects=False)
-
autowaf.display_summary(
conf,
{'Bundle directory': conf.env.LV2DIR,
@@ -237,6 +238,7 @@ def build_spec(bld, path):
bld(features = 'c cprogram',
source = test,
lib = test_lib,
+ uselib = 'LV2',
target = os.path.splitext(str(test.get_bld()))[0],
install_path = None,
cflags = test_cflags,
@@ -418,6 +420,7 @@ def build(bld):
source = bld.path.get_bld().make_node('build-test.c'),
target = 'build-test',
includes = '.',
+ uselib = 'LV2',
install_path = None)
if bld.env.BUILD_BOOK: