From cad8832e4cdf999cfbb839c2533c34c92dfead8e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Tue, 8 Aug 2017 12:18:28 +0200 Subject: [PATCH] libunwind: Remove after building When building arm c++ code we do not want this libunwind to be used. --- packages/libunwind/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/libunwind/build.sh b/packages/libunwind/build.sh index 68b1f2bf..67b9a861 100644 --- a/packages/libunwind/build.sh +++ b/packages/libunwind/build.sh @@ -11,3 +11,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-tests --disable-coredump" termux_step_post_extract_package() { NOCONFIGURE=1 ./autogen.sh } + +termux_step_post_massage() { + # Hack to fix problem with building arm c++ code + # which should not use this libunwind: + rm $TERMUX_PREFIX/lib/libunwind* +} -- 2.11.0