[arch-commits] Commit in musl/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Apr 16 01:58:53 UTC 2019
Date: Tuesday, April 16, 2019 @ 01:58:52
Author: eschwartz
Revision: 451747
upgpkg: musl 1.1.22-2
Actually don't use syslibdir, binaries are supposed to contain an interpreter
tag for /lib
Modified:
musl/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-16 00:55:15 UTC (rev 451746)
+++ PKGBUILD 2019-04-16 01:58:52 UTC (rev 451747)
@@ -3,7 +3,7 @@
pkgname=musl
pkgver=1.1.22
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight implementation of C standard library'
arch=('x86_64')
url='https://www.musl-libc.org/'
@@ -18,7 +18,6 @@
cd $pkgname-$pkgver
./configure --prefix=/usr/lib/musl \
--exec-prefix=/usr \
- --syslibdir=/usr/lib \
--enable-wrapper=all
make
}
@@ -27,6 +26,10 @@
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
+ # configure syslibdir with /lib for PT_INTERP compat, but install to /usr/lib
+ mv "$pkgdir"/lib/ld-musl*.so* "$pkgdir"/usr/lib/
+ rmdir "$pkgdir"/lib
+
install -Dm0644 README "$pkgdir"/usr/share/doc/musl/README
install -Dm0644 COPYRIGHT "$pkgdir"/usr/share/licenses/musl/COPYRIGHT
}
More information about the arch-commits
mailing list