From 8a5596322d586007d66c90b25ef2dd09d196fdfa Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 10 Jan 2017 17:08:31 +0100 Subject: [PATCH] Detect bits when building with MinGW (cherry picked from commit 460f030b738eb055d915e246a61f7740fe14f57b) --- platform/windows/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 74806a260aa..590f92a0542 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -306,7 +306,7 @@ def configure(env): mingw_prefix = "" if (env["bits"] == "default"): - env["bits"] = "32" + env["bits"] = "64" if "PROGRAMFILES(X86)" in os.environ else "32" if (env["bits"] == "32"): env.Append(LINKFLAGS=['-static'])