diff options
author | Steven Allen | 2016-11-24 07:56:27 -0800 |
---|---|---|
committer | Steven Allen | 2016-11-24 07:56:27 -0800 |
commit | ad48cde9a0bb91b848be132e9a29cf9fa825a2f3 (patch) | |
tree | c95b793ab1b5600afc0068a491a0aeeb8d79c71f | |
parent | 075bd48cec0729564af7cb2f4f8d3be7f33b6642 (diff) | |
download | aur-ad48cde9a0bb91b848be132e9a29cf9fa825a2f3.tar.gz |
Don't remove the libs, symlink them
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 5 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Thu Nov 24 15:46:14 UTC 2016 +# Thu Nov 24 15:56:27 UTC 2016 pkgbase = rust-nightly-bin pkgdesc = Fast, concurrent, safe. The Rust programming language and its package manager, Cargo. pkgver = 1.15.0_2016.11.22 - pkgrel = 1 + pkgrel = 2 url = https://www.rust-lang.org/ arch = i686 arch = x86_64 @@ -5,7 +5,7 @@ _date=2016-11-23 pkgname=rust-nightly-bin pkgver=1.15.0_2016.11.22 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') pkgdesc='Fast, concurrent, safe. The Rust programming language and its package manager, Cargo.' url='https://www.rust-lang.org/' @@ -47,6 +47,9 @@ package() { # Remove cruft. rm "${pkgdir}/usr/lib/rustlib/"{manifest-*,install.log,uninstall.sh,components,rust-installer-version} - # Remove duplicate .so libraries (only need rlibs in rustlib). - find "${pkgdir}/usr/lib/rustlib/" -name "*.so" -delete + + # Remove duplicate .so libraries and symlink to them. + # https://github.com/rust-lang/rust/issues/37971 + find "${pkgdir}/usr/lib/rustlib/" -name "*.so" -exec ln -rfs -t "${pkgdir}/usr/lib/" {} + + } |