summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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])