From 9c3c7be93c50369092b3af11e5385420cc5d9425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 21 Dec 2016 20:19:54 +0100 Subject: sys-devel/clang: Create test lib/clang symlink only if libdir != lib --- sys-devel/clang/clang-9999.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.1