Skip to content

Commit

Permalink
Merge pull request #250 from wolfy1339/scons-libraries-names
Browse files Browse the repository at this point in the history
Fix library names
  • Loading branch information
jacksonmj committed Mar 17, 2015
2 parents fc5f367 + 6606d72 commit a9e2445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConscript
Expand Up @@ -255,7 +255,7 @@ def findLibs(env, conf):
#Look for Lua
luaver = "lua5.1"
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")
env.Append(CPPDEFINES=["LUAJIT"])
luaver = "luajit"
Expand Down Expand Up @@ -293,7 +293,7 @@ def findLibs(env, conf):
FatalError("lua.h not found")

#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")

#Look for bz2
Expand Down

0 comments on commit a9e2445

Please sign in to comment.