ncurses: We really need --with-pkg-config-libdir
[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
3f300a10
FF
4# Since every C++ package links against this by default (due
5# to the libstdc++.so -> libgnustl_shared.so setup in
6# build-package.sh) this package is considered essential,
7# and other packages does not need to declare explicit
8# dependency on it.
9TERMUX_PKG_ESSENTIAL=yes
59f0d218 10
09c4ed73
FF
11termux_step_post_massage () {
12 # We take the library here after massage step to
13 # avoid stripping the library after running termux-elf-cleaner,
14 # which causes a broken library (program compiled on the
15 # device linking to the library will segfault, at least on aarch64).
16 mkdir lib
17 cp $TERMUX_PREFIX/lib/libgnustl_shared.so lib/
344b88f9 18}