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 /sys-devel | |
parent | dev-util/sysdig: Clean up old (diff) | |
download | gentoo-9c3c7be93c50369092b3af11e5385420cc5d9425.tar.gz gentoo-9c3c7be93c50369092b3af11e5385420cc5d9425.tar.bz2 gentoo-9c3c7be93c50369092b3af11e5385420cc5d9425.zip |
sys-devel/clang: Create test lib/clang symlink only if libdir != lib
Diffstat (limited to 'sys-devel')
-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 8a98acf677e8..019064c57280 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() { |