commit: bf9624662a5b7b3ff4e0c16d8c65942f01c5b94a Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sun Jan 18 09:35:33 2026 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Fri Jan 23 10:34:42 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf962466
vala.eclass: Define VALAC_FOR_BUILD for Meson when cross-compiling This is also now needed for multilib. We're assuming that valac will not output architecture-specific code. It depends on the project, but it generally shouldn't, and even if it did, we're currently unable to handle that. This could have been set in meson.eclass instead, but this ensures that it stays in sync with VALAC. Closes: https://bugs.gentoo.org/968825 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> eclass/vala.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/vala.eclass b/eclass/vala.eclass index be5fac99a767..e29ac7e00124 100644 --- a/eclass/vala.eclass +++ b/eclass/vala.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: vala.eclass @@ -145,6 +145,7 @@ vala_setup() { fi export VALAC=$(type -P valac-${version}) + export VALAC_FOR_BUILD="${VALAC}" # For Meson. valafoo=$(type -P vala-gen-introspect-${version}) [[ ${valafoo} ]] && export VALA_GEN_INTROSPECT="${valafoo}"
