[dpdk-stable] [PATCH 18.11 1/1] net/mlx: fix overlinking with meson and glue dlopen
Kevin Traynor
ktraynor at redhat.com
Fri Dec 11 10:45:00 CET 2020
On 10/12/2020 21:21, Thomas Monjalon wrote:
> [ upstream commit e21492a5175af31ae568fa5fabef1f4b22706962 ]
>
> If enable_driver_mlx_glue=true, the PMD and application should not
> be linked with ibverbs, but the glue library is.
> Unfortunately the ibverbs dependency was exported in the
> variable ext_deps, so there were overlinking.
>
> It is fixed by not exporting the dependency in ext_deps,
> and recreating a limited dependency object for cflags only.
>
> Fixes: 1dd7c7e38c19 ("net/mlx4: support meson build")
> Fixes: 96d7c62a70c7 ("net/mlx5: support meson build")
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> buildtools/meson.build | 2 ++
> drivers/net/mlx4/meson.build | 8 +++++++-
> drivers/net/mlx5/meson.build | 9 ++++++++-
> 3 files changed, 17 insertions(+), 2 deletions(-)
Applied, thanks.
More information about the stable
mailing list