summaryrefslogtreecommitdiffstats
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 /Swiftob/SConscript
parent437907cb26802b4be0c8e1ae9f4d54113b8d855b (diff)
downloadswift-contrib-04e3aae0a3602212d1858c19a89a72eb24760eab.zip
swift-contrib-04e3aae0a3602212d1858c19a89a72eb24760eab.tar.bz2
Don't fail if LUA_FLAGS aren't set.
Diffstat (limited to 'Swiftob/SConscript')
-rw-r--r--Swiftob/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiftob/SConscript b/Swiftob/SConscript
index 2139822..3928ff0 100644
--- a/Swiftob/SConscript
+++ b/Swiftob/SConscript
@@ -12,7 +12,7 @@ if env["SCONS_STAGE"] == "build":
myenv.MergeFlags(myenv.get("LIBXML_FLAGS", ""))
myenv.MergeFlags(myenv.get("EXPAT_FLAGS", ""))
myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
- myenv.MergeFlags(myenv["LUA_FLAGS"])
+ myenv.MergeFlags(myenv.get("LUA_FLAGS", {}))
sources = [
"linit.c", # This is horrible!
"Swiftob.cpp",
@@ -23,4 +23,4 @@ if env["SCONS_STAGE"] == "build":
"LuaCommands.cpp",
"main.cpp"
]
- swiftob = myenv.Program("swiftob", sources) \ No newline at end of file
+ swiftob = myenv.Program("swiftob", sources)