diff --git a/openwrt/package/Makefile b/openwrt/package/Makefile
index ad05ebcc92d9283c7ab46c296e7a77d0cfb7d662..cea0a78d832066778c62688441290a47e5472d33 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 37956d64c97b8b40d6a9bbfb3bfa97b4cbb11b21..798101af6735d3d974daa20b55fdf3822fdeaa95 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