commit:     4490028a37ab7a7738bc5a707f553507923dcd24
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  9 02:51:42 2017 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 02:51:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4490028a

mysql-multilib-r1.eclass: Ensure the right pkg-config is called

 eclass/mysql-multilib-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/mysql-multilib-r1.eclass b/eclass/mysql-multilib-r1.eclass
index eea8e42f153..4f9a6d44333 100644
--- a/eclass/mysql-multilib-r1.eclass
+++ b/eclass/mysql-multilib-r1.eclass
@@ -406,6 +406,7 @@ multilib_src_configure() {
                # The build forces this to be defined when cross-compiling.  We 
pass it
                # all the time for simplicity and to make sure it is actually 
correct.
                -DSTACK_DIRECTION=$(tc-stack-grows-down && echo -1 || echo 1)
+               -DPKG_CONFIG_EXECUTABLE="${EPREFIX}/usr/bin/$(tc-getPKG_CONFIG)"
        )
 
        if use test ; then

Reply via email to