[Buildroot] [PATCH 1/1] package/libpcap: remove unnecessary dependency on zlib

Mircea Gliga gliga.mircea at gmail.com
Wed Jan 8 12:08:20 UTC 2020


The libpcap package currently depends on zlib, but this is not
needed. The commit removes this non-mandatory dependency.

Signed-off-by: Mircea Gliga <gliga.mircea at gmail.com>
---
 package/libpcap/Config.in  | 1 -
 package/libpcap/libpcap.mk | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/libpcap/Config.in b/package/libpcap/Config.in
index 74429f209a..a5f64bdc81 100644
--- a/package/libpcap/Config.in
+++ b/package/libpcap/Config.in
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LIBPCAP
 	bool "libpcap"
 	select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS
-	select BR2_PACKAGE_ZLIB
 	help
 	  A system-independent library for user-level network packet
 	  capture.
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 476183555a..881a109a0a 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -9,7 +9,7 @@ LIBPCAP_SITE = http://www.tcpdump.org/release
 LIBPCAP_LICENSE = BSD-3-Clause
 LIBPCAP_LICENSE_FILES = LICENSE
 LIBPCAP_INSTALL_STAGING = YES
-LIBPCAP_DEPENDENCIES = zlib host-flex host-bison
+LIBPCAP_DEPENDENCIES = host-flex host-bison
 
 LIBPCAP_CONF_ENV = \
 	ac_cv_header_linux_wireless_h=yes \
-- 
2.24.1



More information about the buildroot mailing list