Skip to content

Commit

Permalink
remove scons' use of removed relative prefs dir functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Jun 23, 2024
1 parent 4f3bc72 commit b77b7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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"] = ""
Expand Down

0 comments on commit b77b7a4

Please sign in to comment.