summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-05 09:42:35 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-05 09:42:35 (GMT)
commit8cdfd96779722099e98aad3d9f2e66dfcb7e281a (patch)
tree377837ae73e340c1ccb1b93739257de92b11575c /3rdParty/Lua
parentf310de4bc115a724b0e9de520707607095f6b16e (diff)
downloadswift-contrib-8cdfd96779722099e98aad3d9f2e66dfcb7e281a.zip
swift-contrib-8cdfd96779722099e98aad3d9f2e66dfcb7e281a.tar.bz2
Detect pthread for platform flags.
Diffstat (limited to '3rdParty/Lua')
-rw-r--r--3rdParty/Lua/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdParty/Lua/SConscript b/3rdParty/Lua/SConscript
index c3e2801..3baa2d8 100644
--- a/3rdParty/Lua/SConscript
+++ b/3rdParty/Lua/SConscript
@@ -34,7 +34,6 @@ if env.get("LUA_BUNDLED", False) :
# Remove warn flags
myenv.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag not in ["-W", "-Wall"]])
myenv.MergeFlags(myenv["LUA_FLAGS"])
- myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
myenv.StaticLibrary("Swiften_Lua", [
"src/lapi.c",
"src/lcode.c",
@@ -71,6 +70,7 @@ if env.get("LUA_BUNDLED", False) :
if lua_env.get("HAVE_READLINE", False) :
lua_env.Append(CPPDEFINES = ["LUA_USE_READLINE"])
lua_env.MergeFlags(lua_env["READLINE_FLAGS"])
+ lua_env.MergeFlags(myenv["PLATFORM_FLAGS"])
lua_env.Program("lua", [
"src/linit.c",
"src/lua.c",