From 7c629981cc73febae77fbd39ad9901c873b248b0 Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Tue, 31 May 2016 09:47:35 +0200
Subject: 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

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",
-- 
cgit v0.10.2-6-g49f6