aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-19 01:27:41 +0000
committerDavid Robillard <d@drobilla.net>2011-10-19 01:27:41 +0000
commited71dcad9d302c3cff30d1eb3c64e1295c22128d (patch)
tree1a1f6108508f36f10d85ba57296db9abe307ea4d /wscript
parent4dd994ca9a06e331c86b1bf2be6c8489f6a611c6 (diff)
downloadblop.lv2-ed71dcad9d302c3cff30d1eb3c64e1295c22128d.tar.gz
blop.lv2-ed71dcad9d302c3cff30d1eb3c64e1295c22128d.tar.bz2
blop.lv2-ed71dcad9d302c3cff30d1eb3c64e1295c22128d.zip
Check for LV2 extensions via pkg-config (new style in LV2 SVN).
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blip.lv2@3547 a436a847-0d15-0410-975c-d299462d15a1
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 != []: