From e3dc85fb7061a4bcee4e9449149992ff76087ea2 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 23 Nov 2014 23:41:03 +0000 Subject: [PATCH] built-in lua codepath in sconstruct needed -ldl --- trunk/SConstruct | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/SConstruct b/trunk/SConstruct index d163fcdc..57141a35 100644 --- a/trunk/SConstruct +++ b/trunk/SConstruct @@ -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)