[openwrt/openwrt] libpcap: fix PKG_CONFIG_DEPENDS for rpcapd

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 20 11:13:16 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/dbe19b1041b15097af139c0d80dc6b3d07466107

commit dbe19b1041b15097af139c0d80dc6b3d07466107
Author: Jianhui Zhao <zhaojh329 at gmail.com>
AuthorDate: Wed Jul 6 14:23:31 2022 +0800

    libpcap: fix PKG_CONFIG_DEPENDS for rpcapd
    
    This fix allows trigger a rerun of Build/Configure when
    rpcapd was selected.
    
    Signed-off-by: Jianhui Zhao <zhaojh329 at gmail.com>
    (cherry picked from commit 6902af4f3075154b5d1de207452a8a5668f95203)
---
 package/libs/libpcap/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libs/libpcap/Makefile b/package/libs/libpcap/Makefile
index 2e5fc07831..d5d9436994 100644
--- a/package/libs/libpcap/Makefile
+++ b/package/libs/libpcap/Makefile
@@ -21,6 +21,8 @@ PKG_LICENSE_FILES:=LICENSE
 
 PKG_ASLR_PIE_REGULAR:=1
 
+PKG_CONFIG_DEPENDS := CONFIG_PACKAGE_rpcapd
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 




More information about the lede-commits mailing list