mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
meson.eclass: set system=windows for mingw cross-compiles
Closes: https://bugs.gentoo.org/636654
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user