summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-01 17:54:42 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 13:23:51 +0100
commita124e36c3520e3f887b3a47aac685d9ad453bf09 (patch)
treeb1f43b0206024b06bf51725407c381691591ebb0 /wscript
parent31cc05d5ef6e840ebe2b4c265f374f913f4758cc (diff)
downloadlilv-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--wscript6
1 files changed, 2 insertions, 4 deletions
diff --git a/wscript b/wscript
index ab2cdd2..713c0f9 100644
--- a/wscript
+++ b/wscript
@@ -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,