look for normal SDL library before SDL framework on OS X
before it refused to even look for the library, it only checked for the framework
This commit is contained in:
parent
3cf5395697
commit
a6f49adae2
@ -231,13 +231,13 @@ def findLibs(env, conf):
|
|||||||
if not conf.CheckLib('SDLmain'):
|
if not conf.CheckLib('SDLmain'):
|
||||||
FatalError("libSDLmain not found or not installed")
|
FatalError("libSDLmain not found or not installed")
|
||||||
|
|
||||||
|
if not GetOption('renderer'):
|
||||||
|
#Look for 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")
|
||||||
elif not GetOption('renderer'):
|
else:
|
||||||
if platform != "Darwin":
|
|
||||||
#Look for SDL
|
|
||||||
if not conf.CheckLib("SDL"):
|
|
||||||
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 platform == "Linux" or compilePlatform == "Linux":
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user