mysql-multilib-r1.eclass: Ensure the right pkg-config is called
authorBrian Evans <grknight@gentoo.org>
Sun, 9 Jul 2017 02:51:42 +0000 (22:51 -0400)
committerBrian Evans <grknight@gentoo.org>
Sun, 9 Jul 2017 02:51:42 +0000 (22:51 -0400)
eclass/mysql-multilib-r1.eclass

index eea8e42f153a5e1a56d195b68f8afe3899d1728e..4f9a6d443333c20c05222a8eb9af6dcd2a9eb07a 100644 (file)
@@ -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