summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/meson.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index be1055a3fe57..2c943dd6ae27 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -103,12 +103,13 @@ _meson_create_cross_file() {
# system roughly corresponds to uname -s (lowercase)
local system=unknown
case ${CHOST} in
- *-aix*) system=aix ;;
- *-cygwin*) system=cygwin ;;
- *-darwin*) system=darwin ;;
- *-freebsd*) system=freebsd ;;
- *-linux*) system=linux ;;
- *-solaris*) system=sunos ;;
+ *-aix*) system=aix ;;
+ *-cygwin*) system=cygwin ;;
+ *-darwin*) system=darwin ;;
+ *-freebsd*) system=freebsd ;;
+ *-linux*) system=linux ;;
+ mingw*|*-mingw*) system=windows ;;
+ *-solaris*) system=sunos ;;
esac
local cpu_family=$(tc-arch)