apt: Avoid needless dependency on libutil

This commit is contained in:
Fredrik Fornwall 2017-12-29 02:16:08 +01:00
parent 42c0073979
commit 0763a2d9b9
2 changed files with 12 additions and 5 deletions

View File

@ -1,7 +1,14 @@
diff -u -r ../apt-1.4.7/apt-pkg/CMakeLists.txt ./apt-pkg/CMakeLists.txt
--- ../apt-1.4.7/apt-pkg/CMakeLists.txt 2017-07-13 23:45:39.000000000 +0200
+++ ./apt-pkg/CMakeLists.txt 2017-07-23 23:40:55.825893751 +0200
@@ -54,7 +54,6 @@
diff -u -r ../apt-1.4.8/apt-pkg/CMakeLists.txt ./apt-pkg/CMakeLists.txt
--- ../apt-1.4.8/apt-pkg/CMakeLists.txt 2017-09-13 18:47:33.000000000 +0200
+++ ./apt-pkg/CMakeLists.txt 2017-12-29 01:09:50.231708153 +0100
@@ -48,13 +48,12 @@
)
target_link_libraries(apt-pkg
- PRIVATE -lutil ${CMAKE_DL_LIBS} ${RESOLV_LIBRARIES}
+ PRIVATE ${CMAKE_DL_LIBS} ${RESOLV_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
${ZLIB_LIBRARIES}
${BZIP2_LIBRARIES}
${LZMA_LIBRARIES}
${LZ4_LIBRARIES}

View File

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://packages.debian.org/apt
TERMUX_PKG_DESCRIPTION="Front-end for the dpkg package manager"
TERMUX_PKG_DEPENDS="libutil, libcurl, liblzma, dpkg, gpgv, libc++"
TERMUX_PKG_DEPENDS="libcurl, liblzma, dpkg, gpgv, libc++"
TERMUX_PKG_VERSION=1.4.8
TERMUX_PKG_SHA256=767ad7d6efb64cde52faececb7d3c0bf49800b9fe06f3a5b0132ab4c01a5b8f8
TERMUX_PKG_SRCURL=http://ftp.debian.org/debian/pool/main/a/apt/apt_${TERMUX_PKG_VERSION}.tar.xz