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
commitdc5f8335f422843641ca456732930949225d83d2 (patch)
treee90e1e79b306f151cf82437aa8cac7cf6e4bca81 /wscript
parente11b1776976fbec3a1bdea2d057869e5cd049051 (diff)
downloadmda.lv2-dc5f8335f422843641ca456732930949225d83d2.tar.gz
mda.lv2-dc5f8335f422843641ca456732930949225d83d2.tar.bz2
mda.lv2-dc5f8335f422843641ca456732930949225d83d2.zip
Check for LV2 extensions via pkg-config (new style in LV2 SVN).
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.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 17cf00a..f925c76 100644
--- a/wscript
+++ b/wscript
@@ -24,7 +24,7 @@ def configure(conf):
conf.line_just = 23
autowaf.display_header('Mdala Configuration')
- autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h')
+ autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE')
conf.env.append_unique('CFLAGS', '-std=c99')
@@ -55,6 +55,7 @@ def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]):
if libs != []:
autowaf.use_lib(bld, obj, libs)
obj.install_path = '${LV2DIR}/' + bundle
+ obj.uselib = ['LV2CORE']
# Install data file
data_file = '%s.ttl' % name