OSDN Git Service

configure: Clearly state that MSYS native builds are discouraged
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 21 Nov 2015 17:51:11 +0000 (18:51 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 21 Nov 2015 21:18:57 +0000 (22:18 +0100)
MSYS, as per cygwin, by default uses a custom posix abstraction
in the form of a "msys2.dll". Programs build that way are harder to
distribute and use.

MSYS2 provides alternate launcher scripts that provide a MINGW
environment nearly out of box.

configure

index f5a9a26..6640f2f 100755 (executable)
--- a/configure
+++ b/configure
@@ -3647,6 +3647,9 @@ case $target_os in
         enabled_any pic shared ||
             { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
         ;;
+    msys*)
+        die "Native MSYS builds are discouraged, please use the MINGW environment.";
+        ;;
     mingw32*)
         if test $target_os = "mingw32ce"; then
             disable network