Permalink
Browse files

More mac compiling fixes that don't actually fix anything

  • Loading branch information...
jacob1 committed Jan 24, 2016
1 parent dfbfb45 commit de2f5fe36da40a450e0a0f49b0b1c45b5a32db32
Showing with 3 additions and 1 deletion.
  1. +3 −1 SConscript
@@ -237,13 +237,15 @@ def findLibs(env, conf):
if not GetOption('renderer'):
#Look for SDL
runSdlConfig = platform == "Linux" or compilePlatform == "Linux"
if not conf.CheckLib("SDL"):
if platform == "Darwin":
if not conf.CheckFramework("SDL"):
FatalError("SDL framework not found or not installed")
runSdlConfig = False
else:
FatalError("SDL development library not found or not installed")
if platform == "Linux" or compilePlatform == "Linux":
if runSdlConfig:
try:
env.ParseConfig('sdl-config --cflags')
if GetOption('static'):

0 comments on commit de2f5fe

Please sign in to comment.