From f5853c3c68625aa9a02fd86d9642f157c20b1d74 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 22 Sep 2019 12:30:23 +0200 Subject: extra/firefox: added /usr/lib/firefox to ld.so.conf.d --- extra/firefox/PKGBUILD | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extra') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index 846cd71a..549b51cc 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -108,3 +108,13 @@ eval "$( $ i patch -p1 -i "$srcdir/avoid-libxul-OOM-python-check.patch" ' )" + +# libxul.so cannot find it's libraries +eval "$( + declare -f package | \ + sed ' + /}/ i \ + install -dm 755 "${pkgdir}/etc/ld.so.conf.d" \ + echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf \ + ' +)" -- cgit v1.2.3-70-g09d2