diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-11-05 16:52:14 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-11-05 16:56:49 -0500 |
commit | f4ea3e88f050277653eef242be707079ca5ad03d (patch) | |
tree | 6b814da0d674d2ac08a2decbb406109aa86b3c3d /eclass | |
parent | profiles: remove sleepyhead mask after package cleanup (diff) | |
download | gentoo-f4ea3e88f050277653eef242be707079ca5ad03d.tar.gz gentoo-f4ea3e88f050277653eef242be707079ca5ad03d.tar.bz2 gentoo-f4ea3e88f050277653eef242be707079ca5ad03d.zip |
meson.eclass: set system=windows for mingw cross-compiles
Closes: https://bugs.gentoo.org/636654
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/meson.eclass | 13 |
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) |