eclass/meson: Sync with Gentoo

It's from Gentoo commit 59c3eabf79595f15b091a64d649ca865441ce05d.
This commit is contained in:
Flatcar Buildbot 2024-03-11 07:14:05 +00:00 committed by Krzesimir Nowak
parent a04cf778f6
commit 5f9096bfea

View File

@ -393,9 +393,6 @@ setup_meson_src_configure() {
tc-export NM
tc-getPROG READELF readelf >/dev/null
# https://bugs.gentoo.org/625396
python_export_utf8_locale
# https://bugs.gentoo.org/721786
export BOOST_INCLUDEDIR="${BOOST_INCLUDEDIR-${EPREFIX}/usr/include}"
export BOOST_LIBRARYDIR="${BOOST_LIBRARYDIR-${EPREFIX}/usr/$(get_libdir)}"
@ -412,6 +409,9 @@ meson_src_configure() {
BUILD_DIR="${BUILD_DIR:-${WORKDIR}/${P}-build}"
# https://bugs.gentoo.org/625396
python_export_utf8_locale
(
setup_meson_src_configure "$@"
MESONARGS+=(