Don't check for libs that are frameworks under OS X

This commit is contained in:
Simon Robertshaw 2012-09-25 17:52:43 +01:00
parent f30ef6004a
commit 9ba08768a4

View File

@ -68,6 +68,7 @@ if GetOption("toolprefix"):
#Check for headers and libraries
conf = Configure(env)
if not GetOption("macosx"):
try:
env.ParseConfig('sdl-config --cflags')
env.ParseConfig('sdl-config --libs')
@ -81,6 +82,7 @@ except:
env.Append(CPPPATH=GetOption("sdl-dir"))
#Find correct lua include dir
if not GetOption("macosx"):
try:
env.ParseConfig('pkg-config --cflags lua5.1')
except:
@ -92,6 +94,7 @@ except:
env.Append(CPPPATH=GetOption("lua-dir"))
#Check for FFT lib
if not GetOption("macosx"):
if not conf.CheckLib('fftw3f') and not conf.CheckLib('fftw3f-3'):
print "libfftw3f not found or not installed"
raise SystemExit(1)