summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-25 19:55:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-25 22:09:39 (GMT)
commit7e4b8e330c99a1db81bdf12b7aab41f5890625e5 (patch)
treea9d4fe06c68048d339e6e79b9f6e0f6496beac8e /3rdParty/Lua/SConscript
parent707eae7dafbbe0625e2392d19072ff6d3be2c14a (diff)
downloadswift-7e4b8e330c99a1db81bdf12b7aab41f5890625e5.zip
swift-7e4b8e330c99a1db81bdf12b7aab41f5890625e5.tar.bz2
Add statically linked sluift.
Diffstat (limited to '3rdParty/Lua/SConscript')
-rw-r--r--3rdParty/Lua/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/3rdParty/Lua/SConscript b/3rdParty/Lua/SConscript
index cd65061..c3e2801 100644
--- a/3rdParty/Lua/SConscript
+++ b/3rdParty/Lua/SConscript
@@ -68,6 +68,9 @@ if env.get("LUA_BUNDLED", False) :
lua_env = myenv.Clone()
lua_env.MergeFlags(lua_env["LUA_FLAGS"])
+ if lua_env.get("HAVE_READLINE", False) :
+ lua_env.Append(CPPDEFINES = ["LUA_USE_READLINE"])
+ lua_env.MergeFlags(lua_env["READLINE_FLAGS"])
lua_env.Program("lua", [
"src/linit.c",
"src/lua.c",