Fixing WESNOTH_PREFIX to correct file
This commit is contained in:
parent
0a05a9c2ab
commit
8483416186
1 changed files with 3 additions and 3 deletions
|
@ -74,6 +74,7 @@ libwesnoth_sources = Split("""
|
|||
minimap.cpp
|
||||
pathutils.cpp
|
||||
preferences.cpp
|
||||
preferences_display.cpp
|
||||
race.cpp
|
||||
random.cpp
|
||||
reports.cpp
|
||||
|
@ -128,8 +129,7 @@ libwesnoth_sources = Split("""
|
|||
""")
|
||||
libwesnoth_sources.extend([
|
||||
env.Object("font.cpp", EXTRA_DEFINE = env['fribidi'] and "HAVE_FRIBIDI" or None),
|
||||
env.Object("language.cpp", EXTRA_DEFINE = env['dummy_locales'] and "USE_DUMMYLOCALES" or None),
|
||||
env.Object("preferences_display.cpp", EXTRA_DEFINE = env["PLATFORM"] != "win32" and "WESNOTH_PREFIX='\"$prefix\"'" or None)
|
||||
env.Object("language.cpp", EXTRA_DEFINE = env['dummy_locales'] and "USE_DUMMYLOCALES" or None)
|
||||
])
|
||||
|
||||
libwesnoth = env.Library("wesnoth", libwesnoth_sources)
|
||||
|
@ -179,7 +179,6 @@ wesnoth_sources = Split("""
|
|||
game_display.cpp
|
||||
game_events.cpp
|
||||
game_preferences.cpp
|
||||
game_preferences_display.cpp
|
||||
gamestatus.cpp
|
||||
generate_report.cpp
|
||||
halo.cpp
|
||||
|
@ -222,6 +221,7 @@ wesnoth_sources = Split("""
|
|||
widgets/scrollpane.cpp
|
||||
""")
|
||||
|
||||
wesnoth_sources.extend(env.Object("game_preferences_display.cpp", EXTRA_DEFINE = env["PLATFORM"] != "win32" and "WESNOTH_PREFIX='\"$prefix\"'" or None))
|
||||
python_env = env.Clone()
|
||||
if env['python']:
|
||||
python_env.Append(CPPDEFINES = "HAVE_PYTHON")
|
||||
|
|
Loading…
Add table
Reference in a new issue