From: Mike Gilbert Date: Sun, 5 Nov 2017 21:52:14 +0000 (-0500) Subject: meson.eclass: set system=windows for mingw cross-compiles X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f4ea3e88f050277653eef242be707079ca5ad03d;p=gentoo.git meson.eclass: set system=windows for mingw cross-compiles Closes: https://bugs.gentoo.org/636654 --- 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)