summaryrefslogtreecommitdiff
path: root/sys-devel/clang/clang-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/clang/clang-9999.ebuild')
-rw-r--r--sys-devel/clang/clang-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 8a98acf677e..019064c5728 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -195,7 +195,9 @@ multilib_src_compile() {
cmake-utils_src_compile
# provide a symlink for tests
- ln -s "../$(get_libdir)/clang" lib/clang || die
+ if [[ $(get_libdir) != lib ]]; then
+ ln -s "../$(get_libdir)/clang" lib/clang || die
+ fi
}
multilib_src_test() {