[openwrt/openwrt] libpcap: add missing PKG_CONFIG_DEPENDS entries
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 27 03:39:56 PST 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/fe37574be63ef7c6c1c1e611f052ed25c99a8aa1
commit fe37574be63ef7c6c1c1e611f052ed25c99a8aa1
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Thu Feb 27 11:05:26 2025 +0100
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 at sartura.hr>
---
package/libs/libpcap/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
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
More information about the lede-commits
mailing list