aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/eg-amp.lv2/wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript
index 844fe50..8c44d61 100644
--- a/plugins/eg-amp.lv2/wscript
+++ b/plugins/eg-amp.lv2/wscript
@@ -22,7 +22,7 @@ def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Amp Configuration')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h')
+ autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE')
conf.env.append_value('CFLAGS', '-std=c99')
@@ -59,5 +59,6 @@ def build(bld):
source = 'amp.c',
name = 'amp',
target = '%s/amp' % bundle,
- install_path = '${LV2DIR}/%s' % bundle)
+ install_path = '${LV2DIR}/%s' % bundle,
+ uselib = 'LV2CORE')