aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
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:
/a> 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168