Browse files

don't run sdl-config when cross compiling for mac

I guess it should only be run when compiling for linux or cross compiling for windows
  • Loading branch information...
jacob1 committed Jan 24, 2016
1 parent 82dc5e1 commit 82257e5e39ce0c73e9ffa2b1c86fa53792302582
Showing with 1 addition and 1 deletion.
  1. +1 −1 SConscript
@@ -239,7 +239,7 @@ def findLibs(env, conf):
FatalError("SDL framework not found or not installed")
FatalError("SDL development library not found or not installed")
if platform == "Linux" or compilePlatform == "Linux":
if platform == "Linux" or (compilePlatform == "Linux" and platform != "Darwin"):
env.ParseConfig('sdl-config --cflags')
env.ParseConfig('sdl-config --libs')

0 comments on commit 82257e5

Please sign in to comment.