summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Marko2025-02-27 10:05:26 +0000
committerRobert Marko2025-02-27 11:39:16 +0000
commitfe37574be63ef7c6c1c1e611f052ed25c99a8aa1 (patch)
tree58d1272e00459bcd4dbfb2b54f3077e45e17c821
parent3d3328bf5f019507896bfa9ffeb53777fc5bfeaa (diff)
downloadopenwrt-fe37574be63ef7c6c1c1e611f052ed25c99a8aa1.tar.gz
libpcap: add missing PKG_CONFIG_DEPENDS entries
Currently, enabling USB, BT or Netfilter support after initial compilation will not trigger a rebuild, so add the missing PKG_CONFIG_DEPENDS so that rebuild gets triggered. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
-rw-r--r--package/libs/libpcap/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile
index 09aab0981c..14b97f902a 100644
--- a/package/libs/libpcap/Makefile
+++ b/package/libs/libpcap/Makefile
@@ -22,7 +22,11 @@ PKG_CPE_ID:=cpe:/a:tcpdump:libpcap
PKG_ASLR_PIE_REGULAR:=1
-PKG_CONFIG_DEPENDS := CONFIG_PACKAGE_rpcapd
+PKG_CONFIG_DEPENDS := \
+ CONFIG_PACKAGE_rpcapd \
+ CONFIG_PCAP_HAS_USB \
+ CONFIG_PCAP_HAS_BT \
+ CONFIG_PCAP_HAS_NETFILTER
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk