From 010e27edb8f99fa7d61a51acbaffafac6b7f8a33 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Fri, 27 Nov 2020 22:34:22 -0800 Subject: [PATCH] eclass/cargo.eclass: tc-export PKG_CONFIG this way cargo will call properly prefixed pkg-config binary Closes: https://bugs.gentoo.org/756913 Signed-off-by: Georgy Yakovlev --- eclass/cargo.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index 1042f31e7e650..7f7a681f6f527 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -347,7 +347,7 @@ cargo_src_compile() { [[ ${_CARGO_GEN_CONFIG_HAS_RUN} ]] || \ die "FATAL: please call cargo_gen_config before using ${FUNCNAME}" - tc-export AR CC CXX + tc-export AR CC CXX PKG_CONFIG set -- cargo build $(usex debug "" --release) ${ECARGO_ARGS[@]} "$@" einfo "${@}"