[dpdk-dev] [PATCH v3 3/4] net/mlx: fix library search in meson build
Luca Boccassi
bluca at debian.org
Thu Apr 18 14:02:22 CEST 2019
On Thu, 2019-04-18 at 04:49 -0700, Yongseok Koh wrote:
> If MLNX_OFED is installed, there's no .pc file installed for
> libraries and
> dependency() can't find libraries by pkg-config. By adding fallback
> of
> using cc.find_library(), libraries are properly located.
>
> Fixes: e30b4e566f47 ("build: improve dependency handling")
> Cc:
> bluca at debian.org
>
> Cc:
> stable at dpdk.org
>
>
> Signed-off-by: Yongseok Koh <
> yskoh at mellanox.com
> >
> ---
>
> v3:
> * use lib name without 'lib' prefix for cc.find_library()
>
> v2:
> * change variable names to minimize code change
>
> drivers/net/mlx4/meson.build | 15 +++++++++------
> drivers/net/mlx5/meson.build | 15 +++++++++------
> 2 files changed, 18 insertions(+), 12 deletions(-)
Acked-by: Luca Boccassi <bluca at debian.org>
--
Kind regards,
Luca Boccassi
More information about the dev
mailing list