diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-11-28 09:48:01 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-11-28 09:48:01 (GMT) |
commit | 34eb7f55fbdd1566ee117738f3a423354ce1b45c (patch) | |
tree | b239d9b7966f0b18e39aeeed3c1c76e720760f3c /Swiften/SConscript | |
parent | 48ffe88bf768fd762a3bcb52717a9079ec803de5 (diff) | |
download | swift-contrib-34eb7f55fbdd1566ee117738f3a423354ce1b45c.zip swift-contrib-34eb7f55fbdd1566ee117738f3a423354ce1b45c.tar.bz2 |
Replace slightly-too-magic MergeFlags by our own UseFlags.
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r-- | Swiften/SConscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript index e81309e..080e88e 100644 --- a/Swiften/SConscript +++ b/Swiften/SConscript @@ -11,12 +11,12 @@ if env["SCONS_STAGE"] == "flags" : swiften_env["LIBPATH"] = [Dir(".")] swiften_env["LIBS"] = ["Swiften"] dep_env = env.Clone() - dep_env.MergeFlags(dep_env["PLATFORM_FLAGS"]) for module in ["BOOST", "LIBIDN", "ZLIB", "OPENSSL", "LIBXML", "EXPAT"] : if env.get(module + "_BUNDLED", False) : - swiften_env.MergeFlags(env.get(module + "_FLAGS", {})) + swiften_env.UseFlags(env.get(module + "_FLAGS", {})) else : - dep_env.MergeFlags(env.get(module + "_FLAGS", {})) + dep_env.UseFlags(env.get(module + "_FLAGS", {})) + dep_env.UseFlags(dep_env["PLATFORM_FLAGS"]) for var, e in [("SWIFTEN_FLAGS", swiften_env), ("SWIFTEN_DEP_FLAGS", dep_env)] : env[var] = { |