From 82257e5e39ce0c73e9ffa2b1c86fa53792302582 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 24 Jan 2016 15:54:43 -0500 Subject: [PATCH] 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 --- SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 305a9018c..90fc19d22 100644 --- a/SConscript +++ b/SConscript @@ -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')