From 4bd9a4396bda3f75fb600bcf061fadd5c94c9770 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/jalv@3497 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 83892e1..06de073 100644 --- a/wscript +++ b/wscript @@ -20,19 +20,19 @@ top = '.' out = 'build' def options(opt): - autowaf.set_options(opt) opt.load('compiler_c') opt.load('compiler_cxx') + autowaf.set_options(opt) opt.add_option('--no-jack-session', action='store_true', default=False, dest='no_jack_session', help="Do not build JACK session support") def configure(conf): + conf.load('compiler_c') + conf.load('compiler_cxx') conf.line_just = 63 autowaf.configure(conf) autowaf.display_header('Jalv Configuration') - conf.load('compiler_c') - conf.load('compiler_cxx') autowaf.check_pkg(conf, 'lv2core', uselib_store='LV2CORE', mandatory=True) autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV', -- cgit v1.2.1