Re: [PATCH] meson: link static libs with whole-archive in subproject

2024-02-18 Thread Thomas Monjalon
29/01/2024 14:17, Bruce Richardson: > On Mon, Jan 29, 2024 at 01:55:36PM +0100, David Marchand wrote: > > On Mon, Jan 29, 2024 at 1:47 PM Robin Jarry wrote: > > > > > > When DPDK is used as a subproject, declare static libs to be linked with > > > -Wl,--whole-archive along with the drivers. This i

Re: [PATCH] meson: link static libs with whole-archive in subproject

2024-01-29 Thread Bruce Richardson
On Mon, Jan 29, 2024 at 01:55:36PM +0100, David Marchand wrote: > On Mon, Jan 29, 2024 at 1:47 PM Robin Jarry wrote: > > > > When DPDK is used as a subproject, declare static libs to be linked with > > -Wl,--whole-archive along with the drivers. This is already done this > > way in pkg-config. > >

Re: [PATCH] meson: link static libs with whole-archive in subproject

2024-01-29 Thread David Marchand
On Mon, Jan 29, 2024 at 1:47 PM Robin Jarry wrote: > > When DPDK is used as a subproject, declare static libs to be linked with > -Wl,--whole-archive along with the drivers. This is already done this > way in pkg-config. > > Fixes: f93a605f2d6e ("build: add definitions for use as Meson subproject"

[PATCH] meson: link static libs with whole-archive in subproject

2024-01-29 Thread Robin Jarry
When DPDK is used as a subproject, declare static libs to be linked with -Wl,--whole-archive along with the drivers. This is already done this way in pkg-config. Fixes: f93a605f2d6e ("build: add definitions for use as Meson subproject") Cc: sta...@dpdk.org Signed-off-by: Robin Jarry --- buildto