From 6517f998333bc8dc2997623e9cb70d8a9ce24cb5 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Wed, 19 Oct 2011 07:53:16 +0000 Subject: [PATCH] sdl: added -ldl flag for lua SF3424048 --- SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/SConstruct b/SConstruct index 5b724ef2..2a3180d3 100644 --- a/SConstruct +++ b/SConstruct @@ -81,6 +81,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"]) ### Search for gd if we're not in Windows if env['PLATFORM'] != 'win32' and env['PLATFORM'] != 'cygwin' and env['CREATE_AVI'] and env['LOGO']: