diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-09-22 12:30:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-09-22 12:30:23 +0200 |
commit | f5853c3c68625aa9a02fd86d9642f157c20b1d74 (patch) | |
tree | 2aa4b1805f35851e22a47b9f5823991dc2d5b9b7 /extra/firefox | |
parent | fa30b8c33fc6a632309427035dfd643488f3e70f (diff) | |
download | packages-f5853c3c68625aa9a02fd86d9642f157c20b1d74.tar.xz |
extra/firefox: added /usr/lib/firefox to ld.so.conf.d
Diffstat (limited to 'extra/firefox')
-rw-r--r-- | extra/firefox/PKGBUILD | 10 |
1 files changed, 10 insertions, 0 deletions
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 \ + ' +)" |