diff options
author | David Robillard <d@drobilla.net> | 2021-01-01 17:54:42 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-02 13:23:51 +0100 |
commit | a124e36c3520e3f887b3a47aac685d9ad453bf09 (patch) | |
tree | b1f43b0206024b06bf51725407c381691591ebb0 /wscript | |
parent | 31cc05d5ef6e840ebe2b4c265f374f913f4758cc (diff) | |
download | lilv-a124e36c3520e3f887b3a47aac685d9ad453bf09.tar.gz lilv-a124e36c3520e3f887b3a47aac685d9ad453bf09.tar.bz2 lilv-a124e36c3520e3f887b3a47aac685d9ad453bf09.zip |
Remove the need for a generated configuration header
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -266,15 +266,13 @@ def configure(conf): lv2_path = lilv_path_sep.join(['~/.lv2', '/usr/%s/lv2' % libdirname, '/usr/local/%s/lv2' % libdirname]) - conf.define('LILV_DEFAULT_LV2_PATH', lv2_path) + conf.define('LILV_DEFAULT_LV2_PATH', lv2_path.replace('%', '%%')) # Set up environment for building/using as a subproject autowaf.set_lib_env(conf, 'lilv', LILV_VERSION, include_path=str(conf.path.find_node('include'))) - conf.write_config_header('lilv_config.h', remove=False) - - conf.undefine('LILV_DEFAULT_LV2_PATH') # Cmd line errors with VC++ + conf.define('LILV_NO_DEFAULT_CONFIG', 1) autowaf.display_summary( conf, |