apt: try fix glob on android 7
This commit is contained in:
parent
8f31b53ca1
commit
91fa3a889b
@ -2,10 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt
|
||||
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_VERSION=2.1.11
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=http://deb.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=f49f0652d5d2cfa157f0197d9ce03953970a108813568bb1c69553fd3d5a4be3
|
||||
# apt-key requires utilities from coreutils, findutils, gpgv, grep, sed.
|
||||
TERMUX_PKG_DEPENDS="coreutils, dpkg, findutils, gpgv, grep, libbz2, libc++, libcurl, liblz4, liblzma, sed, termux-licenses, zlib"
|
||||
TERMUX_PKG_DEPENDS="coreutils, dpkg, findutils, gpgv, grep, libandroid-glob, libbz2, libc++, libcurl, liblz4, liblzma, sed, termux-licenses, zlib"
|
||||
TERMUX_PKG_CONFLICTS="apt-transport-https, libapt-pkg"
|
||||
TERMUX_PKG_REPLACES="apt-transport-https, libapt-pkg"
|
||||
TERMUX_PKG_RECOMMENDS="game-repo, science-repo"
|
||||
@ -61,6 +62,8 @@ termux_step_pre_configure() {
|
||||
|
||||
# Fix i686 builds.
|
||||
CXXFLAGS+=" -Wno-c++11-narrowing"
|
||||
# Fix glob() on Android 7.
|
||||
LDFLAGS+=" -Wl,--no-as-needed -landroid-glob"
|
||||
}
|
||||
|
||||
termux_step_post_make_install() {
|
||||
|
Loading…
Reference in New Issue
Block a user