aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/widelands/files/patch-src_SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/widelands/files/patch-src_SConscript b/games/widelands/files/patch-src_SConscript
index 9112e596d900..498d10c10c79 100644
--- a/games/widelands/files/patch-src_SConscript
+++ b/games/widelands/files/patch-src_SConscript
@@ -5,7 +5,7 @@
SRC=Glob('*.cc')
-srcenv=env.Copy()
-+srcenv=env.Copy(LIBPATH=[])
++srcenv=env.Copy(CPPPATH=[], LIBPATH=[])
srcenv.Append(CPPPATH=[
'#/src',
@@ -13,7 +13,7 @@
srcenv.Append(LIBS='editor', LIBPATH='editor')
srcenv.Append(LIBS='editoruimenus', LIBPATH='editor/ui_menus')
srcenv.Append(LIBS='editortools', LIBPATH='editor/tools')
-+srcenv.Append(LIBPATH=env['LIBPATH'])
++srcenv.Append(CPPPATH=env['CPPPATH'], LIBPATH=env['LIBPATH'])
SConscript('editor/SConscript')
SConscript('ui/ui_basic/SConscript')