From 3f05ed933989d802b82a817a7ff14b1bea45abae Mon Sep 17 00:00:00 2001 From: Tee KOBAYASHI Date: Sun, 17 Apr 2022 03:37:09 +0900 Subject: [PATCH] enchant: Apply compiler-rt builtins hack --- packages/enchant/build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/enchant/build.sh b/packages/enchant/build.sh index 38d50ea56..849af3958 100644 --- a/packages/enchant/build.sh +++ b/packages/enchant/build.sh @@ -3,12 +3,17 @@ TERMUX_PKG_DESCRIPTION="Wraps a number of different spelling libraries and progr TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="2.3.3" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/AbiWord/enchant/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=5952a792570eb232af464331b537381aca8bc711a1d8c4251e1f035e9cca8cfb TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-relocatable" -TERMUX_PKG_DEPENDS="aspell, glib, hunspell" +TERMUX_PKG_DEPENDS="aspell, glib, hunspell, libc++" termux_step_post_get_source() { ./bootstrap } + +termux_step_pre_configure() { + LDFLAGS+=" $($CC -print-libgcc-file-name)" +}