summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-05-31 07:47:35 (GMT)
committerKevin Smith <kevin.smith@isode.com>2016-06-02 10:43:16 (GMT)
commit7c629981cc73febae77fbd39ad9901c873b248b0 (patch)
treea12665dec53ced3982a7e75499ca3551990debe7 /Swiften/Config/SConscript
parentf5a08101e59abef6a4696bcaa2b5381e133dfbb4 (diff)
downloadswift-7c629981cc73febae77fbd39ad9901c873b248b0.zip
swift-7c629981cc73febae77fbd39ad9901c873b248b0.tar.bz2
Add missing define for static building for swiften-config
This fixes building swiften-config on Windows. Test-Information: Successfully build swiften-config on Windows 8 with VS 2013. Change-Id: I9dfb042485dc8ab06003d789e2c106efd308d725
Diffstat (limited to 'Swiften/Config/SConscript')
-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",