[dpdk-dev] [PATCH v8 6/6] build: use dependency for pcap and fallback to find_library
thomas at monjalon.net
Fri Mar 1 14:22:10 CET 2019
26/02/2019 18:46, luca.boccassi at gmail.com:
> From: Luca Boccassi <luca.boccassi at 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
> 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.boccassi at 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.
More information about the dev