diff options
author | David Robillard <d@drobilla.net> | 2008-10-03 01:10:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-03 01:10:58 +0000 |
commit | 0cb30e720eee2577f1602d53ac9d9e99b70841ee (patch) | |
tree | 30a54683d6acf34f215b6b766d1de3e6f05251eb /wscript | |
parent | a3ab8de4391e80e276fd5dc8bb8a9a7f9d1e3366 (diff) | |
download | patchage-0cb30e720eee2577f1602d53ac9d9e99b70841ee.tar.gz patchage-0cb30e720eee2577f1602d53ac9d9e99b70841ee.tar.bz2 patchage-0cb30e720eee2577f1602d53ac9d9e99b70841ee.zip |
Support building locally against header-only libraries in autowaf.
Remove CONFIG_H_PATH define and replace with just "config.h" (define messed up dependency tracking).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1600 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -72,15 +72,13 @@ def configure(conf): autowaf.check_header(conf, 'boost/weak_ptr.hpp', mandatory=True) conf.env['PATCHAGE_VERSION'] = PATCHAGE_VERSION - conf.env.append_value('CCFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"') - conf.env.append_value('CXXFLAGS', '-DCONFIG_H_PATH=\\\"waf-config.h\\\"') conf.env['APP_INSTALL_NAME'] = Params.g_options.app_install_name conf.env['APP_HUMAN_NAME'] = Params.g_options.app_human_name conf.define('DATA_DIR', os.path.normpath( conf.env['PREFIX'] + '/share/' + conf.env['APP_INSTALL_NAME'])) - conf.write_config_header('waf-config.h') + conf.write_config_header('config.h') autowaf.print_summary(conf) autowaf.display_header('Patchage Configuration') |