diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-12-21 20:19:54 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-12-21 22:01:03 +0100 |
commit | 9c3c7be93c50369092b3af11e5385420cc5d9425 (patch) | |
tree | 3756fe75e45c8fc68b8b226598e06b9368352034 | |
parent | 798e10c8401b688ef5291730cf4f2b7f97d00dbc (diff) | |
download | gentoo-9c3c7be93c50369092b3af11e5385420cc5d9425.tar.gz gentoo-9c3c7be93c50369092b3af11e5385420cc5d9425.tar.xz |
sys-devel/clang: Create test lib/clang symlink only if libdir != lib
-rw-r--r-- | sys-devel/clang/clang-9999.ebuild | 4 |
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() { |