aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-15 22:41:56 +0000
committerDavid Robillard <d@drobilla.net>2011-03-15 22:41:56 +0000
commit2f1324038bc0136c71b192af741cd2678a6b0802 (patch)
treea9b19abb9fcf71be97b01d41b044a2cb051cdd79 /wscript
parent3c456666b2417763774142d8813fc68f70985263 (diff)
downloadmda.lv2-2f1324038bc0136c71b192af741cd2678a6b0802.tar.gz
mda.lv2-2f1324038bc0136c71b192af741cd2678a6b0802.tar.bz2
mda.lv2-2f1324038bc0136c71b192af741cd2678a6b0802.zip
Remove autowaf external (broken intermediary revision).
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3095 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 4 insertions, 4 deletions
diff --git a/wscript b/wscript
index 547f914..2e687e7 100644
--- a/wscript
+++ b/wscript
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-import autowaf
import os
+from waflib.extras import autowaf as autowaf
# Version of this package (even if built as a child)
MDALA_VERSION = '0.0.0'
@@ -15,12 +15,12 @@ out = 'build'
def options(opt):
autowaf.set_options(opt)
- opt.tool_options('compiler_cxx')
+ opt.load('compiler_cxx')
def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Mdala Configuration')
- conf.check_tool('compiler_cxx')
+ conf.load('compiler_cxx')
autowaf.check_header(conf, 'lv2/lv2plug.in/ns/lv2core/lv2.h')
@@ -36,7 +36,7 @@ def configure(conf):
def build_plugin(bld, lang, bundle, name, source, cflags=[], libs=[]):
# Build plugin library
- penv = bld.env.copy()
+ penv = bld.env.derive()
penv['cshlib_PATTERN'] = bld.env['pluginlib_PATTERN']
penv['cxxshlib_PATTERN'] = bld.env['pluginlib_PATTERN']
obj = bld(features = '%s %sshlib' % (lang,lang))