summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-08-30 21:36:24 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-08-30 21:36:24 (GMT)
commita5115d977029a8e3f4fd92c16f25208222c73b7e (patch)
treec77bec217eb6b76621176df464a3abcbdc3adc1b /Swiften/History/SConscript
parent7d0cd94de71d9e55e573e28206470439ecde3db5 (diff)
downloadswift-a5115d977029a8e3f4fd92c16f25208222c73b7e.zip
swift-a5115d977029a8e3f4fd92c16f25208222c73b7e.tar.bz2
Don't compile sqlite history without sqlite
Diffstat (limited to 'Swiften/History/SConscript')
-rw-r--r--Swiften/History/SConscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/History/SConscript b/Swiften/History/SConscript
index bc0d64c..ac3cf3b 100644
--- a/Swiften/History/SConscript
+++ b/Swiften/History/SConscript
@@ -4,7 +4,8 @@ myenv = swiften_env.Clone()
if myenv["target"] == "native":
myenv.MergeFlags(swiften_env.get("SQLITE_FLAGS", {}))
-objects = myenv.SwiftenObject([
+if myenv["experimental"]:
+ objects = myenv.SwiftenObject([
"SQLiteHistoryStorage.cpp",
- ])
-swiften_env.Append(SWIFTEN_OBJECTS = [objects])
+ ])
+ swiften_env.Append(SWIFTEN_OBJECTS = [objects])