mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 09:19:05 +00:00
Make sure prefs directory option is properly formed in scons recipe.
This commit is contained in:
parent
6952bdb6e7
commit
948553bb4c
@ -42,7 +42,7 @@ if env['raw_sockets']:
|
||||
env["CXXFLAGS"].append("-DNETWORK_USE_RAW_SOCKETS")
|
||||
|
||||
if env['prefsdir']:
|
||||
env["CXXFLAGS"].append("-DPREFERENCES_DIR='%s'" % env['prefsdir'])
|
||||
env["CXXFLAGS"].append("-DPREFERENCES_DIR='\"%s\"'" % env['prefsdir'])
|
||||
|
||||
cc_version = env["CCVERSION"]
|
||||
if env["CC"] == "gcc":
|
||||
|
Loading…
x
Reference in New Issue
Block a user