[dpdk-dev] [PATCH v2] build: skip detecting libpcap via pcap-config

David Marchand david.marchand at redhat.com
Mon Oct 12 17:12:06 CEST 2020


On Fri, Oct 9, 2020 at 4:54 PM Luca Boccassi <bluca at debian.org> wrote:
>
> On Fri, 2020-10-09 at 15:19 +0100, Bruce Richardson wrote:
> > When compiling for a slightly different architecture, e.g. 32-bit on 64-bit
> > systems using CFLAGS rather than a cross-file, the pcap-config utility can
> > often return parameters that are unusable for the build in question, i.e.
> > providing the native 64-bit library paths rather than checking for 32-bit
> > equivalent.
> >
> > Since many distros now include a version of libpcap with a
> > pkg-config file, and for those that don't find-library should work ok as a
> > fallback, we can explicitly just use pkg-config in the dependency search,
> > causing meson to skip trying to use pcap-config.
> >

CC: stable at dpdk.org

> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Reviewed-by: Luca Boccassi <bluca at debian.org>
Tested-by: David Marchand <david.marchand at redhat.com>


Applied, thanks.

-- 
David Marchand



More information about the dev mailing list