package/netsniff-ng: fix static build of mausezahn
authorBaruch Siach <baruch@tkos.co.il>
Fri, 3 Sep 2021 04:39:28 +0000 (07:39 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 3 Sep 2021 16:16:28 +0000 (18:16 +0200)
commitde39a17f7173c82db358054752d3d65a41f0ca09
tree7260b29c5ea394ec38409833a23afcd39972d64b
parentc8bf903e7acbedf54c1dd66d5fad6fa624329c80
package/netsniff-ng: fix static build of mausezahn

The configure script fails to detect libpcap in static build because it
does not take into account the libnl dependency on link. As a result the
configure script silently disables mausezahn build even when
BR2_PACKAGE_NETSNIFF_NG_MAUSEZAHN is enabled. Add upstream patch to use
pkg-config for libpcap link flags.

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch [new file with mode: 0644]
package/netsniff-ng/netsniff-ng.mk