hybris: Correct the musl runtime linker config file name for armhf
This commit is contained in:
parent
70496ed696
commit
467c240aee
2 changed files with 11 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgname=libhybris
|
||||
pkgver=1.0_git20180212
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch="x86 armhf aarch64"
|
||||
url="https://github.com/libhybris/libhybris"
|
||||
license="Apache"
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
#!/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
|
||||
echo "/usr/lib/libhybris-egl:/lib:/usr/local/lib:/usr/lib" > /etc/ld-musl-$ARCH.path
|
||||
|
|
Loading…
Reference in a new issue