From eb76e4e9f9005e3995b0d9ea165fdb4d34138126 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Sep 2011 19:57:14 +0000 Subject: Load tools before autowaf.configure so e.g. --debug works correctly. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3497 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index e55cb55..6dc5e5e 100644 --- a/wscript +++ b/wscript @@ -20,8 +20,8 @@ top = '.' out = 'build' def options(opt): - autowaf.set_options(opt) opt.load('compiler_cxx') + autowaf.set_options(opt) opt.add_option('--patchage-install-name', type='string', default=APPNAME, dest='patchage_install_name', help="Patchage install name. [Default: '" + APPNAME + "']") @@ -41,10 +41,10 @@ def options(opt): help="Do not try to read files from executable's parent directory") def configure(conf): + conf.load('compiler_cxx') conf.line_just = 40 autowaf.configure(conf) autowaf.display_header('Patchage Configuration') - conf.load('compiler_cxx') autowaf.check_pkg(conf, 'dbus-1', uselib_store='DBUS', mandatory=False) autowaf.check_pkg(conf, 'dbus-glib-1', uselib_store='DBUS_GLIB', -- cgit v1.2.1