diff options
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r-- | eclass/meson.eclass | 4 |
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)" ) |