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
commiteb76e4e9f9005e3995b0d9ea165fdb4d34138126 (patch)
tree32b9fc13d7599247cc011798604f5d1da6690d3f /wscript
parent5052dfed17af76229f46ad1db18258cb61af11e0 (diff)
downloadpatchage-eb76e4e9f9005e3995b0d9ea165fdb4d34138126.tar.gz
patchage-eb76e4e9f9005e3995b0d9ea165fdb4d34138126.tar.bz2
patchage-eb76e4e9f9005e3995b0d9ea165fdb4d34138126.zip
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
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
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',