net/mlx5: use pkg-config to handle SUSE libmnl
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 25 Oct 2018 20:29:38 +0000 (13:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commitb6b87939193a178ffaf48b180df101548620f00f
tree465463dd02bfd12c2e3e8c8187e047170cc8c0f7
parent09a62d75691fb935c7767d51b750df5910825985
net/mlx5: use pkg-config to handle SUSE libmnl

SUSE decided to install the libmnl include file in a non-standard
place: /usr/include/libmnl/libmnl/libmnl.h

This was probably a mistake by the SUSE package maintainer,
but hard to get fixed. Workaround the problem by pkg-config to find
the necessary include directive for libmnl.

Fixes: 20b71e92ef8e ("net/mlx5: lay groundwork for switch offloads")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Luca Boccassi <bluca@debian.org>
drivers/net/mlx5/Makefile