From 7488f42007a73beea7ef9d69b9b375be1a2a4034 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Wed, 24 Aug 2022 11:34:45 +0000 Subject: [PATCH] fix(main/hunspell): fix undefined symbols for arm Previous auto-update failed for arm with: ``` ERROR: lib/libhunspell-1.7.so contains undefined symbols: 35: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_idiv 123: 00000000 0 NOTYPE GLOBAL DEFAULT UND __aeabi_uidivmod ``` and 1.7.1 has since been absent from repo. Issue is reported in android-ndk repo here: android/ndk#1614 --- packages/hunspell/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/hunspell/build.sh b/packages/hunspell/build.sh index e6ff041bb4..96d15a690e 100644 --- a/packages/hunspell/build.sh +++ b/packages/hunspell/build.sh @@ -14,4 +14,6 @@ TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { autoreconf -vfi + + LDFLAGS+=" $($CC -print-libgcc-file-name)" }