summaryrefslogtreecommitdiffstats
path: root/Sluift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-15 19:30:36 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-15 19:30:36 (GMT)
commit04e3aae0a3602212d1858c19a89a72eb24760eab (patch)
tree02f3175ca8431480ea2d75eeb4b1e8970df95b07 /Sluift
parent437907cb26802b4be0c8e1ae9f4d54113b8d855b (diff)
downloadswift-04e3aae0a3602212d1858c19a89a72eb24760eab.zip
swift-04e3aae0a3602212d1858c19a89a72eb24760eab.tar.bz2
Don't fail if LUA_FLAGS aren't set.
Diffstat (limited to 'Sluift')
-rw-r--r--Sluift/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/SConscript b/Sluift/SConscript
index 777cf0c..19255f1 100644
--- a/Sluift/SConscript
+++ b/Sluift/SConscript
@@ -14,7 +14,7 @@ if env["SCONS_STAGE"] == "build" :
myenv = env.Clone()
myenv.Append(LIBS = sluift_lib)
- myenv.UseFlags(env["LUA_FLAGS"])
+ myenv.UseFlags(env.get("LUA_FLAGS", {}))
myenv.UseFlags(env["SWIFTEN_FLAGS"])
myenv.UseFlags(env["SWIFTEN_DEP_FLAGS"])
myenv["SHLIBPREFIX"] = ""