diff options
author | David Robillard <d@drobilla.net> | 2011-09-27 19:57:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-27 19:57:14 +0000 |
commit | eb76e4e9f9005e3995b0d9ea165fdb4d34138126 (patch) | |
tree | 32b9fc13d7599247cc011798604f5d1da6690d3f | |
parent | 5052dfed17af76229f46ad1db18258cb61af11e0 (diff) | |
download | patchage-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
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', |