Browse Source

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

nodeinfo-routing-update
Evgeny 2 months ago
parent
commit
f51705c57d
  1. 10
      configure.ac

10
configure.ac

@ -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])

Loading…
Cancel
Save