From: Mike Gilbert Date: Tue, 5 May 2020 21:26:42 +0000 (-0400) Subject: meson.eclass: append /usr/share/pkgconfig to PKG_CONFIG_PATH X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8447ae886cb4465129e8687f38cea0e6d784c4ef;p=gentoo.git meson.eclass: append /usr/share/pkgconfig to PKG_CONFIG_PATH Bug: https://bugs.gentoo.org/720866 Signed-off-by: Mike Gilbert --- 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)" )