summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-09-27 19:57:14 +0000
committerDavid Robillard <d@drobilla.net>2011-09-27 19:57:14 +0000
commitd96694ea6975d70a440ea0f4be54aed3c757c922 (patch)
treeb71f30c340d5769a712c6a931f5e3590a0108d3f /wscript
parentb4e9875bdb30ca987f2d8e0d9e2b0e6ff47d68d7 (diff)
downloadsuil-d96694ea6975d70a440ea0f4be54aed3c757c922.tar.gz
suil-d96694ea6975d70a440ea0f4be54aed3c757c922.tar.bz2
suil-d96694ea6975d70a440ea0f4be54aed3c757c922.zip
Load tools before autowaf.configure so e.g. --debug works correctly.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3497 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 67702d0..2a1dd05 100644
--- a/wscript
+++ b/wscript
@@ -26,20 +26,20 @@ 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('--gtk2-lib-name', type='string', dest='gtk2_lib_name',
default="libgtk-x11-2.0.so",
help="Gtk2 library name [Default: libgtk-x11-2.0.so]")
def configure(conf):
+ conf.load('compiler_c')
+ conf.load('compiler_cxx')
conf.line_just = 56
autowaf.configure(conf)
autowaf.display_header('Suil Configuration')
- conf.load('compiler_c')
- conf.load('compiler_cxx')
conf.env.append_unique('CFLAGS', '-std=c99')
autowaf.check_header(conf, 'c', 'lv2/lv2plug.in/ns/extensions/ui/ui.h')