From 5f7a9a94170f0ff694a4b5dbe8b852af8a7feb61 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 15 Jun 2009 13:46:01 +0000 Subject: - Fix build with custom PREFIX/LOCALBASE Reported by: QATty --- games/freera/files/SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/freera') diff --git a/games/freera/files/SConstruct b/games/freera/files/SConstruct index dc6eff348821..38790806b03e 100644 --- a/games/freera/files/SConstruct +++ b/games/freera/files/SConstruct @@ -13,7 +13,7 @@ exclude = ["src/misc/fibheap.cpp"] source = filter(lambda x: x not in exclude, source) env = Environment( CPPPATH = ["#/src/include", "#/src/include/lua"], - LIBS = [ "SDL_mixer"] ) + LIBS = [ "SDL_mixer"], ENV = environ ) for key in [ 'CC', 'CCFLAGS', 'CXX', 'CXXFLAGS' ]: if environ.has_key(key): @@ -22,6 +22,6 @@ for key in [ 'CC', 'CCFLAGS', 'CXX', 'CXXFLAGS' ]: env.Append( CCFLAGS = [ "-Wall", "-Wconversion", "-Wno-unused-parameter" ], CXXFLAGS = [ "-Wall", "-Wconversion", "-Wno-unused-parameter" ] ) -env.ParseConfig("sdl-config --cflags --libs") +env.ParseConfig(environ["SDL_CONFIG"] + " --cflags --libs") env.Program(target = "freera", source = source) -- cgit