diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-02-24 21:50:17 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-02-24 21:50:17 (GMT) |
commit | 5698df1c136ebfbf943139b27732bf271e007875 (patch) | |
tree | 86dc522849dde483828d73f0b31c593bb2eb605d /3rdParty/Lua | |
parent | 90d6b45adf84976d99911feb3fb09b27cb6a8d1e (diff) | |
download | swift-5698df1c136ebfbf943139b27732bf271e007875.zip swift-5698df1c136ebfbf943139b27732bf271e007875.tar.bz2 |
Added Sluift client test script and the necessary infrastructure.
Diffstat (limited to '3rdParty/Lua')
-rw-r--r-- | 3rdParty/Lua/SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdParty/Lua/SConscript b/3rdParty/Lua/SConscript index 9d0315e..f69c3cd 100644 --- a/3rdParty/Lua/SConscript +++ b/3rdParty/Lua/SConscript @@ -8,12 +8,14 @@ if env.get("LUA_BUNDLED", False) : if env["SCONS_STAGE"] == "flags" : cppdefines = [] + if not env["optimize"] : + cppdefines.append("LUA_USE_APICHECK") if env["PLATFORM"] == "win32" : pass elif env["PLATFORM"] == "darwin" : - cppdefines = ["LUA_USE_POSIX", "LUA_USE_DLOPEN"] + cppdefines += ["LUA_USE_POSIX", "LUA_USE_DLOPEN"] else : - cppdefines = ["LUA_USE_POSIX", "LUA_USE_DLOPEN"] + cppdefines += ["LUA_USE_POSIX", "LUA_USE_DLOPEN"] env["LUA_FLAGS"] = { "CPPDEFINES": cppdefines, |