hybris: Correct the musl runtime linker config file name for armhf

This commit is contained in:
Robert Yang 2018-10-30 15:21:17 -04:00 committed by Oliver Smith
parent 70496ed696
commit 467c240aee
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 11 additions and 2 deletions

View file

@ -1,6 +1,6 @@
pkgname=libhybris pkgname=libhybris
pkgver=1.0_git20180212 pkgver=1.0_git20180212
pkgrel=2 pkgrel=3
arch="x86 armhf aarch64" arch="x86 armhf aarch64"
url="https://github.com/libhybris/libhybris" url="https://github.com/libhybris/libhybris"
license="Apache" license="Apache"

View file

@ -1,5 +1,14 @@
#!/bin/sh #!/bin/sh
ARCH=$(uname -m) KARCH=$(uname -m)
case "$KARCH" in
armv7l)
ARCH=armhf
;;
*)
ARCH="$KARCH"
;;
esac
if [ ! -f /etc/ld-musl-$ARCH.path ]; then if [ ! -f /etc/ld-musl-$ARCH.path ]; then
echo "/usr/lib/libhybris-egl:/lib:/usr/local/lib:/usr/lib" > /etc/ld-musl-$ARCH.path echo "/usr/lib/libhybris-egl:/lib:/usr/local/lib:/usr/lib" > /etc/ld-musl-$ARCH.path