summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2021-11-19 15:17:40 +0800
committerUniversebenzene2021-11-19 15:17:40 +0800
commit933e68752d46efc3e00ea40f86ce56e97a3e6e63 (patch)
tree8936de13f3041af5a940b941dcdf2f7124cde833
parentb9dc969d74c91d1ca92289815a56c9d6dbfba58e (diff)
downloadaur-933e68752d46efc3e00ea40f86ce56e97a3e6e63.tar.gz
Add LD_PRELOAD for aarch64
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 41a6fbe9916..eea00d9ac38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,6 +23,7 @@ prepare() {
cd "${srcdir}/usr/bin"
sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' *
+ [[ "$CARCH" = "aarch64" ]] && sed -i '2a LD_PRELOAD=/usr/lib/libfreetype.so' *
cd "${srcdir}/usr/share/icons/hicolor"
for _file in ./*; do