summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-09-03 16:47:49 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-09-03 16:47:49 (GMT)
commitd411b5a4ce58226751c86cec2f73f83a613f3bb4 (patch)
tree65546d338043b6fa21501e144c4c1563fc72a294
parent630728ba5d1c263e62d65c3f3cac1520340b7172 (diff)
downloadswift-contrib-d411b5a4ce58226751c86cec2f73f83a613f3bb4.zip
swift-contrib-d411b5a4ce58226751c86cec2f73f83a613f3bb4.tar.bz2
Add missing LINKFLAGS for checker on Windows.
-rw-r--r--QA/UnitTest/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/QA/UnitTest/SConscript b/QA/UnitTest/SConscript
index 5480420..4911018 100644
--- a/QA/UnitTest/SConscript
+++ b/QA/UnitTest/SConscript
@@ -8,7 +8,8 @@ checker_env.MergeFlags(env["CPPUNIT_FLAGS"])
checker_env.Library("Checker", "checker.cpp")
env["CHECKER_FLAGS"] = {
"LIBS": ["Checker"],
- "LIBPATH": [Dir(".")]
+ "LIBPATH": [Dir(".")],
+ "LINKFLAGS": ["/SUBSYSTEM:CONSOLE"] if env["PLATFORM"] == "win32" else []
}
if "check" in COMMAND_LINE_TARGETS or env.GetOption("clean") :