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 <[email protected]> --- eclass/vala.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/vala.eclass b/eclass/vala.eclass index be5fac99a767b..e29ac7e00124c 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}" -- 2.52.0
