add /etc/ld.so.conf.d/libressl.conf
---
 PKGBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index ec9caae..f3dc5f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 
 pkgname=libressl
 pkgver=3.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Free version of the TLS/crypto stack forked from OpenSSL"
 arch=(x86_64)
 url="https://www.libressl.org/";
@@ -47,6 +47,9 @@ package() {
     make DESTDIR="${pkgdir}" install
     install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
 
+    mkdir -p "${pkgdir}/etc/ld.so.conf.d"
+    echo "/usr/lib/libressl" > "${pkgdir}/etc/ld.so.conf.d/libressl.conf"
+
     # Remove symlink man pages that point to OpenSSL ones since the prefix is 
not accounted for
     for manlink in $(find -L "${pkgdir}"/usr/share/man/man3/ -type l) ;
     do
-- 
2.41.0

Reply via email to