applied patch to fix build on debian (bug 520)

This commit is contained in:
punkrockguy318 2012-09-11 09:56:19 +00:00
parent d7fa589826
commit 29a508fb56
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ else:
# If we're POSIX, we use LUA_USE_LINUX since that combines usual lua posix defines with dlfcn calls for dynamic library loading. # If we're POSIX, we use LUA_USE_LINUX since that combines usual lua posix defines with dlfcn calls for dynamic library loading.
# Should work on any *nix # Should work on any *nix
env.Append(CCFLAGS = ["-DLUA_USE_LINUX"]) env.Append(CCFLAGS = ["-DLUA_USE_LINUX"])
env.Append(LINKFLAGS = ["-ldl"])
if conf.CheckLib('lua5.1'): if conf.CheckLib('lua5.1'):
env.Append(LINKFLAGS = ["-ldl", "-llua5.1"]) env.Append(LINKFLAGS = ["-ldl", "-llua5.1"])
elif conf.CheckLib('lua'): elif conf.CheckLib('lua'):