diff --git a/package/ulogd/ulogd.mk b/package/ulogd/ulogd.mk index 363b8c818e..4017edc7bf 100644 --- a/package/ulogd/ulogd.mk +++ b/package/ulogd/ulogd.mk @@ -29,6 +29,13 @@ else ULOGD_CONF_OPTS += --with-mysql=no --without-sqlite endif +ifeq ($(BR2_PACKAGE_LIBPCAP),y) +ULOGD_CONF_OPTS += --with-pcap +ULOGD_DEPENDENCIES += libpcap +else +ULOGD_CONF_OPTS += --without-pcap +endif + ifeq ($(BR2_PACKAGE_JANSSON),y) ULOGD_CONF_OPTS += --with-jansson ULOGD_DEPENDENCIES += jansson