26/02/2019 18:46, luca.bocca...@gmail.com: > From: Luca Boccassi <luca.bocca...@microsoft.com> > > pcap has historically shipped a custom pcap-config binary tool which > does the job of pkg-config. It was never compatible with cross > compilation. > Meson uses it when using dependency(), which then means cross > compilation fails. > Set pcap-config to empty in the meson cross compilation files so > that Meson will not use it, and add a fallback in case > dependency() fails. > libpcap 1.9.0 finally ships a pkg-config file so everything will > work out of the box in the future. > > Signed-off-by: Luca Boccassi <luca.bocca...@microsoft.com> > --- > v8: added back pcap change separately. Tested with bootlin > cross-compilation toolchain, everything seems to work.
Applied separately of the rest, because I initially thought there was an issue, but it appears to be a transient issue solved by cleaning the build directory. Thanks Luca.