diff options
| author | David Robillard <d@drobilla.net> | 2011-11-09 05:09:35 +0000 | 
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2011-11-09 05:09:35 +0000 | 
| commit | 63811d5fedd978f2c3c1b0a4ea7b745955570bbb (patch) | |
| tree | 8851081f528da6ae00db07cb6b78b3b2c7c0f590 /plugins/eg-amp.lv2 | |
| parent | b29d88df3820ad01ffd0d603e77c99e058178292 (diff) | |
| download | lv2-63811d5fedd978f2c3c1b0a4ea7b745955570bbb.tar.xz | |
Check for lv2core via pkg-config rather than header presence.
Diffstat (limited to 'plugins/eg-amp.lv2')
| -rw-r--r-- | plugins/eg-amp.lv2/wscript | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript index 844fe50..8c44d61 100644 --- a/plugins/eg-amp.lv2/wscript +++ b/plugins/eg-amp.lv2/wscript @@ -22,7 +22,7 @@ def configure(conf):      autowaf.configure(conf)      autowaf.display_header('Amp Configuration') -    autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/lv2core/lv2.h') +    autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE')      conf.env.append_value('CFLAGS', '-std=c99') @@ -59,5 +59,6 @@ def build(bld):                source       = 'amp.c',                name         = 'amp',                target       = '%s/amp' % bundle, -              install_path = '${LV2DIR}/%s' % bundle) +              install_path = '${LV2DIR}/%s' % bundle, +              uselib       = 'LV2CORE')  |