commit: 9c3c7be93c50369092b3af11e5385420cc5d9425 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Dec 21 19:19:54 2016 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Dec 21 21:01:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c3c7be9
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 8a98acf..019064c 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() {