From dc5f8335f422843641ca456732930949225d83d2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 19 Oct 2011 01:27:41 +0000 Subject: 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 --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1