summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-29 18:06:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-29 18:08:06 (GMT)
commitbf9cfb6aa5bda0a33da6dfc12ef49321500256ed (patch)
treef65132bd5b1a27d54bd78858908ed6ae38b8fbc4 /Swiften
parent46b13c4d25270c6933d20c6aa790619e30e4cfe8 (diff)
downloadswift-bf9cfb6aa5bda0a33da6dfc12ef49321500256ed.zip
swift-bf9cfb6aa5bda0a33da6dfc12ef49321500256ed.tar.bz2
Put platform flags in PLATFORM_FLAGS variable.
This should avoid problems with --as-needed. Resolves: #547
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Examples/ConnectivityTest/SConscript1
-rw-r--r--Swiften/Examples/SendMessage/SConscript1
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Examples/ConnectivityTest/SConscript b/Swiften/Examples/ConnectivityTest/SConscript
index 6563ded..f66c57f 100644
--- a/Swiften/Examples/ConnectivityTest/SConscript
+++ b/Swiften/Examples/ConnectivityTest/SConscript
@@ -9,4 +9,5 @@ myenv.MergeFlags(myenv["ZLIB_FLAGS"])
myenv.MergeFlags(myenv["OPENSSL_FLAGS"])
myenv.MergeFlags(myenv.get("LIBXML_FLAGS", ""))
myenv.MergeFlags(myenv.get("EXPAT_FLAGS", ""))
+myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
tester = myenv.Program("ConnectivityTest", ["ConnectivityTest.cpp"])
diff --git a/Swiften/Examples/SendMessage/SConscript b/Swiften/Examples/SendMessage/SConscript
index bc9bde2..05ab4c3 100644
--- a/Swiften/Examples/SendMessage/SConscript
+++ b/Swiften/Examples/SendMessage/SConscript
@@ -9,4 +9,5 @@ myenv.MergeFlags(myenv["OPENSSL_FLAGS"])
myenv.MergeFlags(myenv.get("SQLITE_FLAGS", {}))
myenv.MergeFlags(myenv.get("LIBXML_FLAGS", ""))
myenv.MergeFlags(myenv.get("EXPAT_FLAGS", ""))
+myenv.MergeFlags(myenv["PLATFORM_FLAGS"])
tester = myenv.Program("SendMessage", ["SendMessage.cpp"])