aboutsummaryrefslogtreecommitdiffstats
path: root/games/windstille/files/patch-src-SConstruct
blob: 9bf34e0fe32c44bc6c4ddb8047100fa6028746e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/SConscript.orig Wed Jun 13 07:04:35 2007
+++ src/SConscript  Thu Jun 14 15:51:17 2007
@@ -26,11 +26,10 @@
 
 Import('conf_env')
 
-env = Environment(CC = 'gcc',
-                  CXX = 'g++',
-                  CXXFLAGS = ['-O0', '-Wall', '-Werror', '-g', '-DDEBUG'] + conf_env['CXXFLAGS'])
-
-env.Append(CXXFLAGS = conf_env['CXXFLAGS'])
+env = conf_env.Copy()
+env.Append(LIBS    = ['GL', 'GLU', 'squirrel', 'physfs', 'SDL_image', 'openal', 'glew', 'ogg', 'vorbis', 'vorbisfile', 'png', 'iconv'])
+env.Append(LIBPATH = ['../lib/'] )
+env.Append(CPPPATH = ['.', '..', '../lib/SQUIRREL2/include/', '../lib/glew'])
 
 # env.Copy(LIBS = ['a', 'b'])
 
@@ -184,9 +183,6 @@
 'sprite3d/sprite3d.cpp',
 'tinygettext/gettext.cpp',
 'tinygettext/tinygettext.cpp'
-],
-LIBS    = ['GL', 'GLU', 'squirrel', 'physfs', 'SDL_image', 'openal', 'glew', 'ogg', 'vorbis', 'vorbisfile', 'png'] + env['LIBS'],
-LIBPATH = ['../lib/'],
-CPPPATH = env['CPPPATH'] + ['.', '..', '../lib/SQUIRREL2/include/', '../lib/glew'])
+])
 
 # EOF #