diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-01-02 19:35:48 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-01-02 19:35:48 +0300 |
commit | 1927dfa24119501919d96af8aa6ce9ebbf03ecd0 (patch) | |
tree | 7f057150274e94fbf7e2db9e212cea7671f0f68a /SConstruct | |
parent | 7b3768138c3c38add07327623210ed23ff3c7518 (diff) |
update to scons for Ton SDL threads
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index f5b01816f7c..04fc91dfe5d 100644 --- a/SConstruct +++ b/SConstruct @@ -184,13 +184,16 @@ elif sys.platform == 'darwin': opengl_libpath = [] opengl_include = [] # SDL specific stuff. - sdl_env.ParseConfig ('sdl-config --cflags --libs') - sdl_cflags = sdl_env.Dictionary()['CCFLAGS'] + #sdl_env.ParseConfig ('sdl-config --cflags --libs') # Want to use precompiled libraries? if use_precomp == 'true': sdl_include = [darwin_precomp + 'sdl/include'] sdl_libpath = [darwin_precomp + 'sdl/lib'] sdl_lib = ['libSDL.a'] + sdl_cflags = [ '-I' + darwin_precomp + 'sdl/include' ] + sdl_env.Append (CCFLAGS = sdl_cflags ) + sdl_env.Append (CPPPATH = [darwin_precomp + 'sdl/include'] ) + platform_libs = ['stdc++'] extra_includes = ['/sw/include'] platform_libpath = ['/System/Library/Frameworks/OpenGL.framework/Libraries'] |