diff --git a/configure b/configure index f5a9a2690f..6640f2f6db 100755 --- 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