From 29a508fb563bb32f0102c26b3e4d10c89adfe60a Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Tue, 11 Sep 2012 09:56:19 +0000 Subject: [PATCH] applied patch to fix build on debian (bug 520) --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index e3fda430..3632c57f 100644 --- a/SConstruct +++ b/SConstruct @@ -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. # Should work on any *nix env.Append(CCFLAGS = ["-DLUA_USE_LINUX"]) + env.Append(LINKFLAGS = ["-ldl"]) if conf.CheckLib('lua5.1'): env.Append(LINKFLAGS = ["-ldl", "-llua5.1"]) elif conf.CheckLib('lua'):