mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 11:33:30 +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")
|
env["CXXFLAGS"].append("-DNETWORK_USE_RAW_SOCKETS")
|
||||||
|
|
||||||
if env['prefsdir']:
|
if env['prefsdir']:
|
||||||
env["CXXFLAGS"].append("-DPREFERENCES_DIR='%s'" % env['prefsdir'])
|
env["CXXFLAGS"].append("-DPREFERENCES_DIR='\"%s\"'" % env['prefsdir'])
|
||||||
|
|
||||||
cc_version = env["CCVERSION"]
|
cc_version = env["CCVERSION"]
|
||||||
if env["CC"] == "gcc":
|
if env["CC"] == "gcc":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user