From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 7 Mar 2005 16:48:26 +0000 (+0000)
Subject: add tcpdump build depend on libpcap
X-Git-Tag: reboot~33369
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4e08bed0423c275bdeba445d44522212b1e00dbd;p=openwrt%2Fopenwrt.git

add tcpdump build depend on libpcap

SVN-Revision: 342
---

diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index ad05ebcc92..cea0a78d83 100644
--- a/openwrt/package/Makefile
+++ b/openwrt/package/Makefile
@@ -28,6 +28,7 @@ clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
 install: $(patsubst %,%-install,$(package-y))
 
+tcpdump-compile: libpcap-compile
 dropbear-compile: zlib-compile
 openssl-compile: zlib-compile
 openvpn-compile: openssl-compile
diff --git a/openwrt/package/tcpdump/Config.in b/openwrt/package/tcpdump/Config.in
index 37956d64c9..798101af67 100644
--- a/openwrt/package/tcpdump/Config.in
+++ b/openwrt/package/tcpdump/Config.in
@@ -1,4 +1,5 @@
 config BR2_PACKAGE_TCPDUMP
+	select BR2_PACKAGE_LIBPCAP
 	tristate "tcpdump"
 	default m
 	help