remove scons' use of removed relative prefs dir functionality
This commit is contained in:
parent
c6a4d1d4da
commit
171423bb8a
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ for environ in [test_env, client_env, env]:
|
|||
environ.Append(CPPDEFINES = "LOCALEDIR='\"$localedirname\"'")
|
||||
if not os.path.isabs(env['localedirname']):
|
||||
environ.Append(CPPDEFINES = "HAS_RELATIVE_LOCALEDIR")
|
||||
if env['version_suffix'] and not env['prefsdir']:
|
||||
environ['prefsdir'] = ".wesnoth$version_suffix"
|
||||
if environ['prefsdir']:
|
||||
if env['version_suffix']:
|
||||
environ['prefsdir'] += env['version_suffix']
|
||||
environ.Append(CPPDEFINES = "PREFERENCES_DIR=\\\"$prefsdir\\\"")
|
||||
else:
|
||||
environ["fifodir"] = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue