ndk-sysroot: symlink libc to libutil'

Fixes https://github.com/termux/termux-packages/issues/3972.
This commit is contained in:
Leonid Pliushch 2019-09-22 22:55:50 +03:00
parent 9c106af1c1
commit 52d1291a9a

View File

@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://developer.android.com/tools/sdk/ndk/index.html
TERMUX_PKG_DESCRIPTION="System header and library files from the Android NDK needed for compiling C programs"
TERMUX_PKG_LICENSE="NCSA"
TERMUX_PKG_VERSION=$TERMUX_NDK_VERSION
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SKIP_SRC_EXTRACT=true
# This package has taken over <pty.h> from the previous libutil-dev
# and iconv.h from libandroid-support-dev:
@ -44,4 +44,5 @@ termux_step_extract_into_massagedir() {
fi
ln -f -s $_SYSTEM_LIBDIR/libc.so librt.so
ln -f -s $_SYSTEM_LIBDIR/libc.so libpthread.so
ln -f -s $_SYSTEM_LIBDIR/libc.so libutil.so
}