Use more source checksums
[termux-packages] / packages / libgnustl / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=http://gcc.gnu.org/onlinedocs/libstdc++/
2TERMUX_PKG_DESCRIPTION="The GNU Standard C++ Library (a.k.a. libstdc++-v3), necessary on android since the system libstdc++.so is stripped down"
3TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION
09c4ed73 4TERMUX_PKG_REVISION=1
3f300a10
FF
5# Since every C++ package links against this by default (due
6# to the libstdc++.so -> libgnustl_shared.so setup in
7# build-package.sh) this package is considered essential,
8# and other packages does not need to declare explicit
9# dependency on it.
10TERMUX_PKG_ESSENTIAL=yes
59f0d218 11
09c4ed73
FF
12termux_step_post_massage () {
13 # We take the library here after massage step to
14 # avoid stripping the library after running termux-elf-cleaner,
15 # which causes a broken library (program compiled on the
16 # device linking to the library will segfault, at least on aarch64).
17 mkdir lib
18 cp $TERMUX_PREFIX/lib/libgnustl_shared.so lib/
344b88f9 19}