From 2f1324038bc0136c71b192af741cd2678a6b0802 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Mar 2011 22:41:56 +0000 Subject: Remove autowaf external (broken intermediary revision). git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3095 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wscript') 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)) -- cgit v1.2.1