From: Fredrik Fornwall Date: Tue, 8 Aug 2017 10:18:28 +0000 (+0200) Subject: libunwind: Remove after building X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/cad8832e4cdf999cfbb839c2533c34c92dfead8e?hp=7a860ad1eacdebcf2b137009592cb5dc8b1a5d9c libunwind: Remove after building When building arm c++ code we do not want this libunwind to be used. --- 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* +}