summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-05 17:26:42 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-05 17:28:05 -0400
commit8447ae886cb4465129e8687f38cea0e6d784c4ef (patch)
tree829fd346313377386d14cfd7d99fbbc121fbcaec /eclass/meson.eclass
parentapp-arch/zstd: stable 1.4.4-r4 for hppa, bug #720868 (diff)
downloadgentoo-8447ae886cb4465129e8687f38cea0e6d784c4ef.tar.gz
gentoo-8447ae886cb4465129e8687f38cea0e6d784c4ef.tar.bz2
gentoo-8447ae886cb4465129e8687f38cea0e6d784c4ef.zip
meson.eclass: append /usr/share/pkgconfig to PKG_CONFIG_PATH
Bug: https://bugs.gentoo.org/720866 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r--eclass/meson.eclass4
1 files 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)"
)