commit:     ca383d856dd617ceeee4bb6fe9ef93c98ccf55ab
Author:     Gerhard Bräunlich <g.braeunlich <AT> disroot <DOT> org>
AuthorDate: Sat Jun  1 14:27:47 2019 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Jun  3 14:44:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca383d85

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 <AT> disroot.org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 eclass/meson.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index b9562376b86..7c62cf44f78 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}")

Reply via email to