Re: [dpdk-dev] [PATCH v3 3/5] net/mlx: workaround static linkage with meson

2020-02-11 Thread Bruce Richardson
On Tue, Feb 11, 2020 at 12:36:06PM +0100, Thomas Monjalon wrote: > 11/02/2020 12:29, Bruce Richardson: > > On Tue, Feb 11, 2020 at 02:19:40AM +0100, Thomas Monjalon wrote: > > > If ibverbs_link is static and the application choose to link DPDK > > > as static libraries, both PMD and ibverbs librari

Re: [dpdk-dev] [PATCH v3 3/5] net/mlx: workaround static linkage with meson

2020-02-11 Thread Thomas Monjalon
11/02/2020 12:29, Bruce Richardson: > On Tue, Feb 11, 2020 at 02:19:40AM +0100, Thomas Monjalon wrote: > > If ibverbs_link is static and the application choose to link DPDK > > as static libraries, both PMD and ibverbs libraries must be linked > > as static libraries. And the dependencies of ibverb

Re: [dpdk-dev] [PATCH v3 3/5] net/mlx: workaround static linkage with meson

2020-02-11 Thread Bruce Richardson
On Tue, Feb 11, 2020 at 02:19:40AM +0100, Thomas Monjalon wrote: > If ibverbs_link is static and the application choose to link DPDK > as static libraries, both PMD and ibverbs libraries must be linked > as static libraries. And the dependencies of ibverbs (netlink) must > still be linked as shared

[dpdk-dev] [PATCH v3 3/5] net/mlx: workaround static linkage with meson

2020-02-10 Thread Thomas Monjalon
If ibverbs_link is static and the application choose to link DPDK as static libraries, both PMD and ibverbs libraries must be linked as static libraries. And the dependencies of ibverbs (netlink) must still be linked as shared libraries. Unfortunately, meson forget about the static requirement for