Subject: [alpine-aports] [PATCH] Modified /usr/lib/libkeyutils.so to be relative rather then absolute to help when cross compiling using sysroot

From: Anthony Davies <[email-masked]>
Date: Mon, 8 Jul 2019 22:56:06 +1000

From: Linux User <[email-masked]>

---
 main/keyutils/APKBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/keyutils/APKBUILD b/main/keyutils/APKBUILD
index a1f1de7294..2926f6db9d 100644
--- a/main/keyutils/APKBUILD
+++ b/main/keyutils/APKBUILD
@@ -23,6 +23,7 @@ build() {
 		VERSION=$pkgver \
 		RELEASE=-r$pkgrel \
 		CFLAGS="$CFLAGS"
+	ln -sf ../../lib/libkeyutils.so.1 "$pkgdir"/usr/lib/libkeyutils.so
 }
 
 package() {
-- 
2.22.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---