scons: Fix build failure when prefsdir contains spaces
The canonical prefsdir for Mac builds _always_ has spaces, so this is quite important.
This commit is contained in:
parent
ffe9182fb3
commit
b7ee27c8e7
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ if env["PLATFORM"] != "win32":
|
|||
if env['version_suffix'] and not env['prefsdir']:
|
||||
filesystem_env['prefsdir'] = ".wesnoth$version_suffix"
|
||||
if filesystem_env['prefsdir']:
|
||||
filesystem_env.Append(CPPDEFINES = "PREFERENCES_DIR='\"$prefsdir\"'")
|
||||
filesystem_env.Append(CPPDEFINES = "PREFERENCES_DIR=\\\"$prefsdir\\\"")
|
||||
|
||||
if env['default_prefs_file']:
|
||||
client_env.Append(CPPDEFINES = "DEFAULT_PREFS_PATH='\"$default_prefs_file\"'")
|
||||
|
|
Loading…
Add table
Reference in a new issue