From 947fe06d18d30faf3c58c51a20acd9f1063d61b6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Dec 2014 08:01:59 +0000 Subject: Upgrade to waf 1.8.5. git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/blop.lv2@5496 a436a847-0d15-0410-975c-d299462d15a1 --- waf | Bin 97411 -> 100567 bytes wscript | 9 +++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/waf b/waf index a59c289..faf9dde 100755 Binary files a/waf and b/waf differ diff --git a/wscript b/wscript index ccc51c3..b14d502 100644 --- a/wscript +++ b/wscript @@ -45,13 +45,12 @@ def configure(conf): conf.define('BLOP_SHLIB_EXT', conf.env.pluginlib_EXT) - autowaf.display_msg(conf, 'LV2 bundle directory', - conf.env.LV2DIR) + autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) autowaf.display_msg(conf, 'Ideal oscillator sampling rate', Options.options.rate) print('') -def build_plugin(bld, lang, bundle, name, source, defines=None): +def build_plugin(bld, lang, bundle, name, source, defines=None, lib=[]): # Build plugin library penv = bld.env.derive() penv.cshlib_PATTERN = bld.env.pluginlib_PATTERN @@ -62,6 +61,7 @@ def build_plugin(bld, lang, bundle, name, source, defines=None): name = name, target = os.path.join(bundle, name), uselib = ['LV2'], + lib = ['m'] + lib, install_path = '${LV2DIR}/' + bundle) if defines != None: obj.defines = defines @@ -114,7 +114,8 @@ def build(bld): # Oscillators for i in ['pulse', 'sawtooth', 'square', 'triangle']: build_plugin(bld, 'c', 'blop.lv2', i, - ['src/%s.c' % i, 'src/wavedata.c']) + ['src/%s.c' % i, 'src/wavedata.c'], + lib=['dl']) # Sequencers for i in [16, 32, 64]: -- cgit v1.2.1