From 27e08957adddc522be90415ecf26ae651c31a865 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 21 Aug 2012 04:45:55 +0000 Subject: Link against libm (fix ticket #5). --- plugins/eg-amp.lv2/wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/eg-amp.lv2') 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 -- cgit v1.2.1