applied patch to fix build on debian (bug 520)
This commit is contained in:
parent
d7fa589826
commit
29a508fb56
|
@ -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'):
|
||||||
|
|
Loading…
Reference in New Issue