More mac compiling fixes that don't actually fix anything
This commit is contained in:
parent
dfbfb459d1
commit
de2f5fe36d
@ -237,13 +237,15 @@ def findLibs(env, conf):
|
|||||||
|
|
||||||
if not GetOption('renderer'):
|
if not GetOption('renderer'):
|
||||||
#Look for SDL
|
#Look for SDL
|
||||||
|
runSdlConfig = platform == "Linux" or compilePlatform == "Linux"
|
||||||
if not conf.CheckLib("SDL"):
|
if not conf.CheckLib("SDL"):
|
||||||
if platform == "Darwin":
|
if platform == "Darwin":
|
||||||
if not conf.CheckFramework("SDL"):
|
if not conf.CheckFramework("SDL"):
|
||||||
FatalError("SDL framework not found or not installed")
|
FatalError("SDL framework not found or not installed")
|
||||||
|
runSdlConfig = False
|
||||||
else:
|
else:
|
||||||
FatalError("SDL development library not found or not installed")
|
FatalError("SDL development library not found or not installed")
|
||||||
if platform == "Linux" or compilePlatform == "Linux":
|
if runSdlConfig:
|
||||||
try:
|
try:
|
||||||
env.ParseConfig('sdl-config --cflags')
|
env.ParseConfig('sdl-config --cflags')
|
||||||
if GetOption('static'):
|
if GetOption('static'):
|
||||||
|
Reference in New Issue
Block a user