mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-14 12:24:04 +02:00
Make --nofft work on other platforms too, it was still linking with -lfftw3f
This commit is contained in:
@@ -100,10 +100,11 @@ if not GetOption("macosx"):
|
|||||||
else:
|
else:
|
||||||
env.Append(CPPPATH=[GetOption("lua-dir")])
|
env.Append(CPPPATH=[GetOption("lua-dir")])
|
||||||
|
|
||||||
#Check for FFT lib
|
if not GetOption('nofft'):
|
||||||
if not conf.CheckLib('fftw3f') and not conf.CheckLib('fftw3f-3'):
|
#Check for FFT lib
|
||||||
print "libfftw3f not found or not installed"
|
if not conf.CheckLib('fftw3f') and not conf.CheckLib('fftw3f-3'):
|
||||||
raise SystemExit(1)
|
print "libfftw3f not found or not installed"
|
||||||
|
raise SystemExit(1)
|
||||||
|
|
||||||
#Check for Bzip lib
|
#Check for Bzip lib
|
||||||
if not conf.CheckLib('bz2'):
|
if not conf.CheckLib('bz2'):
|
||||||
|
Reference in New Issue
Block a user