commit: 7e98e8c28891a994738be4734f468d9bb1fb1d0b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 7 05:14:25 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e98e8c2
sys-apps/minijail: call pkg-config via toolchain-funcs.eclass helper
This ensures we call the correct pkg-config in e.g. cross.
Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/minijail/minijail-9.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-apps/minijail/minijail-9.ebuild
b/sys-apps/minijail/minijail-9.ebuild
index a11b63da62a..bca6a443264 100644
--- a/sys-apps/minijail/minijail-9.ebuild
+++ b/sys-apps/minijail/minijail-9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -40,8 +40,8 @@ src_configure() {
export LIBDIR="/usr/$(get_libdir)"
export USE_seccomp="$(usex seccomp)"
export USE_SYSTEM_GTEST=yes
- export GTEST_CXXFLAGS="$(pkg-config --cflags gtest_main)"
- export GTEST_LIBS="$(pkg-config --libs gtest_main)"
+ export GTEST_CXXFLAGS="$($(tc-getPKG_CONFIG) --cflags gtest_main)"
+ export GTEST_LIBS="$($(tc-getPKG_CONFIG) --libs gtest_main)"
}
src_compile() {