diff options
author | Tobias Markmann <tm@ayena.de> | 2016-05-31 07:47:35 (GMT) |
---|---|---|
committer | Kevin Smith <kevin.smith@isode.com> | 2016-06-02 10:43:16 (GMT) |
commit | 7c629981cc73febae77fbd39ad9901c873b248b0 (patch) | |
tree | a12665dec53ced3982a7e75499ca3551990debe7 /Swiften | |
parent | f5a08101e59abef6a4696bcaa2b5381e133dfbb4 (diff) | |
download | swift-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')
-rw-r--r-- | Swiften/Config/SConscript | 2 |
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", |