fix apt build

This commit is contained in:
Lucy Phipps 2021-08-08 00:03:24 +01:00 committed by GitHub
parent 167256cca7
commit 34d21e590c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,6 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DDPKG_DATADIR=$TERMUX_PREFIX/share/dpkg
-DUSE_NLS=OFF
-DWITH_DOC=OFF
-DDOCBOOK_XSL=$(xmlcatalog "$TERMUX_PREFIX/etc/xml/catalog" http://cdn.docbook.org/release/xsl/current)
"
# ubuntu uses instead $PREFIX/lib instead of $PREFIX/libexec to
@ -65,6 +64,7 @@ termux_step_pre_configure() {
CXXFLAGS+=" -Wno-c++11-narrowing"
# Fix glob() on Android 7.
LDFLAGS+=" -Wl,--no-as-needed -landroid-glob"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" -DDOCBOOK_XSL=$(xmlcatalog "$TERMUX_PREFIX/etc/xml/catalog" http://cdn.docbook.org/release/xsl/current)"
}
termux_step_post_make_install() {