[arch-commits] Commit in rust/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Oct 1 23:26:06 UTC 2019


    Date: Tuesday, October 1, 2019 @ 23:26:06
  Author: heftig
Revision: 363641

Simplify lib symlinking

Modified:
  rust/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-01 23:26:05 UTC (rev 363640)
+++ PKGBUILD	2019-10-01 23:26:06 UTC (rev 363641)
@@ -65,8 +65,7 @@
 
   # rustbuild always installs copies of the shared libraries to /usr/lib,
   # overwrite them with symlinks to the per-architecture versions
-  cd "$pkgdir"/usr/lib
-  ln -sf rustlib/$CARCH-unknown-linux-gnu/lib/*.so .
+  ln -srft "$pkgdir"/usr/lib x86_64-unknown-linux-gnu/lib/*.so
 
   # move docs and lib32 libs out of the way for splitting
   mv "$pkgdir"/usr/share/doc "$srcdir"



More information about the arch-commits mailing list