Browse files

check for lib named 'lua' when using --lua52

  • Loading branch information...
jacob1 committed Jun 12, 2015
1 parent e308dd7 commit b80cc932d17b8fe96459a95601f1148cade34d15
Showing with 3 additions and 3 deletions.
  1. +3 −3 SConscript
@@ -262,7 +262,7 @@ def findLibs(env, conf):
luaver = "luajit"
elif GetOption('lua52'):
if not conf.CheckLib(['lua5.2', 'lua-5.2', 'lua52']):
if not conf.CheckLib(['lua5.2', 'lua-5.2', 'lua52', 'lua']):
FatalError("lua5.2 development library not found or not installed")
luaver = "lua5.2"
@@ -295,8 +295,8 @@ def findLibs(env, conf):
FatalError("lua.h not found")
#needed for static lua compiles (in some cases)
if platform == "Linux" and not conf.CheckLib('dl'):
FatalError("libdl not found")
if platform == "Linux":
#Look for fftw
if not GetOption('nofft') and not conf.CheckLib(['fftw3f', 'fftw3f-3', 'libfftw3f-3', 'libfftw3f']):

0 comments on commit b80cc93

Please sign in to comment.