libunwind: Remove after building
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 8 Aug 2017 10:18:28 +0000 (12:18 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 8 Aug 2017 10:18:28 +0000 (12:18 +0200)
When building arm c++ code we do not want this libunwind to be used.

packages/libunwind/build.sh

index 68b1f2b..67b9a86 100644 (file)
@@ -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*
+}