net/mlx5: fallback quietly if pkg-config is unavailable
authorLuca Boccassi <bluca@debian.org>
Fri, 9 Nov 2018 22:48:07 +0000 (22:48 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commit0c9df53de400e187238fb0b2cf379c1739ed78ac
tree234860ac6b03ff3095d03431913e0b5093504ec5
parent99813c2a32f61f7c1a185f625510087119c4513e
net/mlx5: fallback quietly if pkg-config is unavailable

Don't fail the build if pkg-config can't be found, instead print the
linker flag as it was doing before the change.

Fixes: b6b87939193a ("net/mlx5: use pkg-config to handle SUSE libmnl")
Cc: stable@dpdk.org
Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Luca Boccassi <bluca@debian.org>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/Makefile