diff options
author | David Robillard <d@drobilla.net> | 2011-10-19 01:27:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-19 01:27:41 +0000 |
commit | dc5f8335f422843641ca456732930949225d83d2 (patch) | |
tree | e90e1e79b306f151cf82437aa8cac7cf6e4bca81 | |
parent | e11b1776976fbec3a1bdea2d057869e5cd049051 (diff) | |
download | mda.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
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |