From c5c4d92c329ee3bba9a574aa1aae3b026dc2007c Mon Sep 17 00:00:00 2001 From: Ian Bastos Date: Wed, 17 Jul 2019 00:27:42 +0100 Subject: [PATCH] check SDL2 framework on OSX --- SConscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConscript b/SConscript index 4baec2fe4..0d89cb00d 100644 --- a/SConscript +++ b/SConscript @@ -238,9 +238,9 @@ def findLibs(env, conf): #Look for SDL runSdlConfig = platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD" - #if platform == "Darwin" and conf.CheckFramework("SDL"): - # runSdlConfig = False - if not conf.CheckLib("SDL2"): + if platform == "Darwin" and conf.CheckFramework("SDL2"): + runSdlConfig = False + elif not conf.CheckLib("SDL2"): FatalError("SDL2 development library not found or not installed") if runSdlConfig: