commit: f4ea3e88f050277653eef242be707079ca5ad03d Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sun Nov 5 21:52:14 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Nov 5 21:56:49 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ea3e88
meson.eclass: set system=windows for mingw cross-compiles Closes: https://bugs.gentoo.org/636654 eclass/meson.eclass | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index be1055a3fe5..2c943dd6ae2 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)