summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-10 07:58:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-10 10:56:44 (GMT)
commit3911f30a92ae971aebdbf1d733b4261aafde4950 (patch)
treeeaa21ace7c329130b1aa5ab8b7494156d6eed4b9 /Swiften/SConscript
parent17721d86205828929e784ad35e5f07e8a7a71631 (diff)
downloadswift-3911f30a92ae971aebdbf1d733b4261aafde4950.zip
swift-3911f30a92ae971aebdbf1d733b4261aafde4950.tar.bz2
Fixed compilation problem on some compilers.
Diffstat (limited to 'Swiften/SConscript')
-rw-r--r--Swiften/SConscript11
1 files changed, 6 insertions, 5 deletions
diff --git a/Swiften/SConscript b/Swiften/SConscript
index d98c9b7..6d38717 100644
--- a/Swiften/SConscript
+++ b/Swiften/SConscript
@@ -201,15 +201,16 @@ if env["SCONS_STAGE"] == "build" :
"LinkLocal",
"StreamManagement",
"Component",
- "Config",
"AdHoc"
])
- SConscript(test_only = True, dirs = [
+ if env["build_examples"] :
+ SConscript(dirs = [
+ "Config",
+ "Examples"
+ ])
+ env.SConscript(test_only = True, dirs = [
"QA",
])
- SConscript(dirs = [
- "Examples"
- ])
myenv = swiften_env.Clone()
if myenv["PLATFORM"] != "darwin" and myenv["PLATFORM"] != "win32" and myenv.get("HAVE_GCONF", 0) :