libpcap: fix PKG_CONFIG_DEPENDS for rpcapd
authorJianhui Zhao <zhaojh329@gmail.com>
Wed, 6 Jul 2022 06:23:31 +0000 (14:23 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 20 Jul 2022 16:12:52 +0000 (18:12 +0200)
This fix allows trigger a rerun of Build/Configure when
rpcapd was selected.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
(cherry picked from commit 6902af4f3075154b5d1de207452a8a5668f95203)

package/libs/libpcap/Makefile

index 2e5fc0783173084681169a5c7325119bd459e6cc..d5d943699485654fea9374dd625f76add64df43a 100644 (file)
@@ -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