summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swiften/Config/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Config/SConscript b/Swiften/Config/SConscript
index 6eddb0e..dd06d61 100644
--- a/Swiften/Config/SConscript
+++ b/Swiften/Config/SConscript
@@ -36,6 +36,8 @@ libflags = replaceSwiftenPath(" ".join([
config_flags += cStringVariable(swiften_env, "LIBFLAGS", libflags)
config_env = env.Clone()
+config_env.Append(CPPDEFINES = ["SWIFTEN_STATIC"])
+
# Create a local copy of Paths.cpp to avoid a Swiften dependency
config_env.Install(".", [
"#/Swiften/Base/Paths.cpp",