summaryrefslogtreecommitdiffstats
path: root/QA
diff options
context:
space:
mode:
Diffstat (limited to 'QA')
-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") :