remove scons' use of removed relative prefs dir functionality

This commit is contained in:
pentarctagon 2024-06-22 22:41:46 -05:00 committed by Pentarctagon
parent c6a4d1d4da
commit 171423bb8a

View file

@ -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"] = ""