diff options
author | Michel Selten <michel@mselten.demon.nl> | 2004-04-12 01:11:18 +0400 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2004-04-12 01:11:18 +0400 |
commit | 450fdbfd82474db1e1f6f8a9f2ab18936fd166bd (patch) | |
tree | 1dd6e2d3e723256119962813226f4a5c470111f1 /SConstruct | |
parent | c78184e331ff9449120808359e0b9e4bb5565677 (diff) |
SCons updates
* Updates to the cygwin build.
the dna.c file used to be generated with a full path. Cygwin doesn't like
this. The problem was with some cflags and linkflags that are used to build
makesdna.exe
Hos nicely pointed this out and proposed a solution.
Now, these flags are only added to the command when the platform != 'cygwin'.
* Updated some variables in SConstruct.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index c64779289c0..f136f2661ff 100644 --- a/SConstruct +++ b/SConstruct @@ -236,7 +236,7 @@ elif sys.platform == 'cygwin': opengl_include = ['/usr/include'] # SDL specific stuff. sdl_env.ParseConfig ('sdl-config --cflags --libs') - sdl_cflags = sdl_env.Dictionary()['CCFLAGS'] + sdl_cflags = [] sdl_include = sdl_env.Dictionary()['CPPPATH'] sdl_libpath = sdl_env.Dictionary()['LIBPATH'] sdl_lib = sdl_env.Dictionary()['LIBS'] |