diff options
author | David Robillard <d@drobilla.net> | 2012-08-21 04:45:55 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-21 04:45:55 +0000 |
commit | 27e08957adddc522be90415ecf26ae651c31a865 (patch) | |
tree | 220278d1afe6a79d8619f06074dca3c8e1d1e50b /plugins | |
parent | 39901b12b65c049031e205c8f82d156d2345c9e1 (diff) | |
download | lv2-27e08957adddc522be90415ecf26ae651c31a865.tar.xz |
Link against libm (fix ticket #5).
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/eg-amp.lv2/wscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript index 33951a1..d4295ff 100644 --- a/plugins/eg-amp.lv2/wscript +++ b/plugins/eg-amp.lv2/wscript @@ -22,6 +22,8 @@ def configure(conf): if not autowaf.is_child(): autowaf.check_pkg(conf, 'lv2', uselib_store='LV2') + + conf.check(features='c cprogram', lib='m', uselib_store='M', mandatory=False) autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) print('') @@ -59,7 +61,7 @@ def build(bld): name = 'amp', target = '%s/amp' % bundle, install_path = '${LV2DIR}/%s' % bundle, - uselib = 'LV2', + uselib = 'M LV2', includes = includes) obj.env.cshlib_PATTERN = module_pat |