Fix compiling on Windows
This commit is contained in:
parent
fc5f3671f1
commit
6606d72df0
@ -255,7 +255,7 @@ def findLibs(env, conf):
|
|||||||
#Look for Lua
|
#Look for Lua
|
||||||
luaver = "lua5.1"
|
luaver = "lua5.1"
|
||||||
if GetOption('luajit'):
|
if GetOption('luajit'):
|
||||||
if not conf.CheckLib(['luajit-5.1', 'luajit5.1', 'luajit']):
|
if not conf.CheckLib(['luajit-5.1', 'luajit5.1', 'luajit', 'libluajit']):
|
||||||
FatalError("luajit development library not found or not installed")
|
FatalError("luajit development library not found or not installed")
|
||||||
env.Append(CPPDEFINES=["LUAJIT"])
|
env.Append(CPPDEFINES=["LUAJIT"])
|
||||||
luaver = "luajit"
|
luaver = "luajit"
|
||||||
@ -293,7 +293,7 @@ def findLibs(env, conf):
|
|||||||
FatalError("lua.h not found")
|
FatalError("lua.h not found")
|
||||||
|
|
||||||
#Look for fftw
|
#Look for fftw
|
||||||
if not GetOption('nofft') and not conf.CheckLib(['fftw3f', 'fftw3f-3', 'libfftw3f-3']):
|
if not GetOption('nofft') and not conf.CheckLib(['fftw3f', 'fftw3f-3', 'libfftw3f-3', 'libfftw3f']):
|
||||||
FatalError("fftw3f development library not found or not installed")
|
FatalError("fftw3f development library not found or not installed")
|
||||||
|
|
||||||
#Look for bz2
|
#Look for bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user