summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <g.braeunlich@disroot.org>2019-06-01 16:27:47 +0200
committerMike Gilbert <floppym@gentoo.org>2019-06-03 10:44:20 -0400
commitca383d856dd617ceeee4bb6fe9ef93c98ccf55ab (patch)
treeda54147055b3a2508c3a23aa22e6bf75f77a143b /eclass/meson.eclass
parenteclass/texlive-module: specify fmtutil mode for user (diff)
downloadgentoo-ca383d856dd617ceeee4bb6fe9ef93c98ccf55ab.tar.gz
gentoo-ca383d856dd617ceeee4bb6fe9ef93c98ccf55ab.tar.bz2
gentoo-ca383d856dd617ceeee4bb6fe9ef93c98ccf55ab.zip
meson.eclass: fix cross compile file for mingw
This is necessary for cross compiling for example x11-libs/gdk-pixbuf Closes: https://github.com/gentoo/gentoo/pull/12168 Signed-off-by: Gerhard Bräunlich <g.braeunlich@disroot.org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r--eclass/meson.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index b9562376b868..7c62cf44f787 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -1,4 +1,4 @@
-# Copyright 2017-2018 Gentoo Authors
+# Copyright 2017-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: meson.eclass
@@ -160,6 +160,7 @@ _meson_create_cross_file() {
objcpp = $(_meson_env_array "$(tc-getPROG OBJCXX c++)")
pkgconfig = '$(tc-getPKG_CONFIG)'
strip = $(_meson_env_array "$(tc-getSTRIP)")
+ windres = $(_meson_env_array "$(tc-getRC)")
[properties]
c_args = $(_meson_env_array "${CFLAGS} ${CPPFLAGS}")