diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-08-30 21:36:24 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-08-30 21:36:24 (GMT) |
commit | a5115d977029a8e3f4fd92c16f25208222c73b7e (patch) | |
tree | c77bec217eb6b76621176df464a3abcbdc3adc1b /Swiften/History | |
parent | 7d0cd94de71d9e55e573e28206470439ecde3db5 (diff) | |
download | swift-contrib-a5115d977029a8e3f4fd92c16f25208222c73b7e.zip swift-contrib-a5115d977029a8e3f4fd92c16f25208222c73b7e.tar.bz2 |
Don't compile sqlite history without sqlite
Diffstat (limited to 'Swiften/History')
-rw-r--r-- | Swiften/History/SConscript | 7 |
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]) |