sdl: add linker flag that allows lua libs to be dynamically loaded (like iup)

This commit is contained in:
punkrockguy318 2011-10-19 16:15:10 +00:00
parent a44ecb49a5
commit dedfbc0ae4
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +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"])
env.Append(LINKFLAGS = ["-ldl", "-llua"])
### Search for gd if we're not in Windows
if env['PLATFORM'] != 'win32' and env['PLATFORM'] != 'cygwin' and env['CREATE_AVI'] and env['LOGO']: