Fix Windows detection in configure.ac - check both host_os and host

This commit is contained in:
Evgeny committed 2026-02-15 03:39:18 +03:00
1 parent 72de980922
commit 2129c4f64a
1 file changed
+9 -1
+9 -1
View File
@@ -34,7 +34,15 @@ case $host_os in
os_windows=yes
;;
*)
os_windows=no
# Also check $host for cross-compilation case
case $host in
*mingw* | *msys* | *cygwin* | *win*)
os_windows=yes
;;
*)
os_windows=no
;;
esac
;;
esac
AC_MSG_RESULT([$os_windows])