aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index 2ff0dfe..e1e5191 100644
--- a/wscript
+++ b/wscript
@@ -24,7 +24,7 @@ def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Blip Configuration')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h')
+ autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE')
conf.check(function_name = 'sinf',
header_name = 'math.h',
@@ -60,6 +60,7 @@ def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]):
obj.includes = [ '.', './src/include' ]
obj.name = name
obj.target = os.path.join(bundle, name)
+ obj.uselib = ['LV2CORE']
if cflags != []:
obj.cflags = cflags
if libs != []: