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
This commit is contained in:
parent
82dc5e1f71
commit
82257e5e39
@ -239,7 +239,7 @@ def findLibs(env, conf):
|
||||
FatalError("SDL framework not found or not installed")
|
||||
else:
|
||||
FatalError("SDL development library not found or not installed")
|
||||
if platform == "Linux" or compilePlatform == "Linux":
|
||||
if platform == "Linux" or (compilePlatform == "Linux" and platform != "Darwin"):
|
||||
try:
|
||||
env.ParseConfig('sdl-config --cflags')
|
||||
env.ParseConfig('sdl-config --libs')
|
||||
|
Loading…
Reference in New Issue
Block a user