From 80bcdf272f0a8586fe99c3774a76ca3246167be4 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 19 Apr 2022 17:43:32 +0100 Subject: toolchain.eclass: fix zstd RDEPEND for USE=zstd on gcc Signed-off-by: Sam James --- eclass/toolchain.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eclass/toolchain.eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 3bd4b84f494a..bc692443065a 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -254,7 +254,8 @@ if tc_has_feature systemtap ; then fi if tc_has_feature zstd ; then - DEPEND+=" zstd? ( app-arch/zstd )" + DEPEND+=" zstd? ( app-arch/zstd:= )" + RDEPEND+=" zstd? ( app-arch/zstd:= )" fi if tc_has_feature valgrind; then -- cgit v1.2.3-65-gdbad