[dpdk-dev] [dpdk-stable] [PATCH 1/2] net/nfb: fix dependency check
thomas at monjalon.net
Mon Sep 16 17:46:44 CEST 2019
15/09/2019 14:04, Jan Remeš:
> On Sat, Sep 14, 2019 at 11:37 AM Thomas Monjalon <thomas at monjalon.net> wrote:
> > The library libnfb is part of netcope-common which provides
> > a pkg-config file: netcope-common.pc.
> > Looking for this .pc file - with dependency() - is preferred
> > than looking for the library - with cc.find_library().
> > If the library is not installed in a standard path,
> > it can be found thanks to PKG_CONFIG_PATH variable.
> > The previous solution required to use CFLAGS and LDFLAGS
> > environment variables.
> > Fixes: 6435f9a0ac22 ("net/nfb: add new netcope driver")
> > Cc: stable at dpdk.org
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Jan Remes <remes at netcope.com>
More information about the dev