aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-metro.lv2/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-25 12:24:09 -0500
committerDavid Robillard <d@drobilla.net>2014-11-25 12:24:09 -0500
commitfe4d7f69e7b562a68c4257051a17ab571f85c6ed (patch)
treeff55c5c2d8db9acbc9fb5dccabf216b0642c5d9f /plugins/eg-metro.lv2/wscript
parent68a4dc89f5e00aa6e2780f4f96011b92961b7a80 (diff)
downloadlv2-fe4d7f69e7b562a68c4257051a17ab571f85c6ed.tar.xz
Link math library where required.
Diffstat (limited to 'plugins/eg-metro.lv2/wscript')
-rw-r--r--plugins/eg-metro.lv2/wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/eg-metro.lv2/wscript b/plugins/eg-metro.lv2/wscript
index 40642b6..2a3731c 100644
--- a/plugins/eg-metro.lv2/wscript
+++ b/plugins/eg-metro.lv2/wscript
@@ -23,6 +23,8 @@ def configure(conf):
if not autowaf.is_child():
autowaf.check_pkg(conf, 'lv2', atleast_version='0.2.0', uselib_store='LV2')
+ conf.check(features='c cshlib', lib='m', uselib_store='M', mandatory=False)
+
autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR)
print('')
@@ -58,7 +60,7 @@ def build(bld):
name = 'metro',
target = '%s/metro' % bundle,
install_path = '${LV2DIR}/%s' % bundle,
- use = 'LV2',
+ use = ['M', 'LV2'],
includes = includes)
obj.env.cshlib_PATTERN = module_pat