commit:     2b94cf3b1b9493448876b622065693b675aae117
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Nov 17 15:08:51 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 26 15:44:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b94cf3b

distutils-r1.eclass: export PKG_CONFIG used by dev-python/pkgconfig

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44655
Closes: https://github.com/gentoo/gentoo/pull/44655
Part-of: https://github.com/gentoo/gentoo/pull/44745
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/distutils-r1.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 8fc92cf4fca5..c7a17dd39863 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1486,8 +1486,8 @@ distutils-r1_run_phase() {
 
        local -x PATH=${BUILD_DIR}/install${EPREFIX}/usr/bin:${PATH}
        # Set up build environment, bug #513664.
-       local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX}
-       tc-export AR CC CPP CXX
+       local -x AR=${AR} CC=${CC} CPP=${CPP} CXX=${CXX} 
PKG_CONFIG=${PKG_CONFIG}
+       tc-export AR CC CPP CXX PKG_CONFIG
 
        # Perform additional environment modifications only for python_compile
        # phase.  This is the only phase where we expect to be calling the 
Python

Reply via email to