From 8447ae886cb4465129e8687f38cea0e6d784c4ef Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 5 May 2020 17:26:42 -0400 Subject: [PATCH] meson.eclass: append /usr/share/pkgconfig to PKG_CONFIG_PATH Bug: https://bugs.gentoo.org/720866 Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 5e50dd75705d..340dbfd1ff95 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -327,8 +327,8 @@ meson_src_configure() { --prefix "${EPREFIX}/usr" --sysconfdir "${EPREFIX}/etc" --wrap-mode nodownload - --build.pkg-config-path "${EPREFIX}/usr/share/pkgconfig" - --pkg-config-path "${EPREFIX}/usr/share/pkgconfig" + --build.pkg-config-path "${BUILD_PKG_CONFIG_PATH}${BUILD_PKG_CONFIG_PATH:+:}${EPREFIX}/usr/share/pkgconfig" + --pkg-config-path "${PKG_CONFIG_PATH}${PKG_CONFIG_PATH:+:}${EPREFIX}/usr/share/pkgconfig" --native-file "$(_meson_create_native_file)" ) -- 2.26.2