built-in lua codepath in sconstruct needed -ldl

This commit is contained in:
zeromus 2014-11-23 23:41:03 +00:00
parent d520ffddf6
commit e3dc85fb70
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ else:
print 'Could not find liblua, exiting!'
Exit(1)
else:
env.Append(LINKFLAGS = ["-ldl", "-llua5.1"])
env.Append(CCFLAGS = ["-Isrc/lua/src"])
lua_available = True
# "--as-needed" no longer available on OSX (probably BSD as well? TODO: test)