dev-lang/rust: only run llvm_pkg_setup when using system-llvm

Fixes: https://bugs.gentoo.org/671526
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Dirkjan Ochtman
2018-11-20 21:17:34 +01:00
parent 652c41ec35
commit 3ffd0a77e2
+3 -1
View File
@@ -87,7 +87,9 @@ pkg_pretend() {
pkg_setup() {
pre_build_checks
python-any-r1_pkg_setup
llvm_pkg_setup
if use system-llvm; then
llvm_pkg_setup
fi
}
src_prepare() {