diff options
author | Luchesar V. ILIEV | 2016-02-27 16:48:52 +0200 |
---|---|---|
committer | Luchesar V. ILIEV | 2016-02-27 16:49:58 +0200 |
commit | bf0d273481d8fcf7ec471fa032fae9e7629bf5b1 (patch) | |
tree | 951ab34229d4f307292aca9c64a5c92a60b3f257 | |
parent | bee3be15c24fa26d5d50dcd525ca5f36458e3336 (diff) | |
download | aur-bf0d273481d8fcf7ec471fa032fae9e7629bf5b1.tar.gz |
Fix for r262066: lto.h in libs pkg
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -251,6 +251,9 @@ package_llvm-libs-svn() { install -m755 -d "${pkgdir}/usr/lib/bfd-plugins" ln -s {/usr/lib,"${pkgdir}/usr/lib/bfd-plugins"}/LLVMgold.so + # Since r262066 lto.h is also installed, but we don't need it in the -libs package. + rm -rf "${pkgdir}/usr/include" + # Must have a symlink that corresponds to the output of `llvm-config --version`. # Without it, some builds, e.g. Mesa, might fail for "lack of shared libraries". _sover="$(echo ${pkgver} | cut -d . -f -2)svn" |