Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-09-22 12:30:23 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-09-22 12:30:23 +0200
commitf5853c3c68625aa9a02fd86d9642f157c20b1d74 (patch)
tree2aa4b1805f35851e22a47b9f5823991dc2d5b9b7 /extra/firefox
parentfa30b8c33fc6a632309427035dfd643488f3e70f (diff)
extra/firefox: added /usr/lib/firefox to ld.so.conf.d
Diffstat (limited to 'extra/firefox')
-rw-r--r--extra/firefox/PKGBUILD10
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 \
+ '
+)"