From 35b7bf938216f9f5c1768acba987a5e6964877d8 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Mon, 10 Oct 2016 14:55:34 +0300 Subject: [PATCH] build: win: detect also mingw64 in msys2 setup MSYS2 installs 3 environments, with uname (e.g. on win8.1 64) as follows: - MINGW32_NT-6.3 gcc -> stand-alone native i686 binaries - MINGW64_NT-6.3 gcc -> stand-alone native x86_64 binaries - MSYS_NT-6.3 gcc -> posix-ish binaries which can only run in this env Therefore 'MINGW' is more generic and detects both 32/64 native environments, where previously 'MINGW32' detected only the 32 one. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index efffeec..003f538 100755 --- a/configure +++ b/configure @@ -49,7 +49,7 @@ cpu= # OS specific targetos=`uname` case $targetos in - MINGW32*) mingw32=yes;; + MINGW*) mingw32=yes;; MSYS*) mingw32=yes;; DragonFly) noldl=yes;; OpenBSD) noldl=yes;;