Re: [dpdk-dev] [PATCH 7/7] build/pkg-config: prevent overlinking

2020-04-29 Thread Bruce Richardson
On Wed, Apr 29, 2020 at 12:34:56PM +0200, Thomas Monjalon wrote: > 29/04/2020 12:08, Bruce Richardson: > > Add the --as-needed linker flag to the DPDK library list in the pkg-config > > file so as to prevent overlinking. Without this flag, when linking > > statically using flags from $(pkg-config -

Re: [dpdk-dev] [PATCH 7/7] build/pkg-config: prevent overlinking

2020-04-29 Thread Thomas Monjalon
29/04/2020 12:08, Bruce Richardson: > Add the --as-needed linker flag to the DPDK library list in the pkg-config > file so as to prevent overlinking. Without this flag, when linking > statically using flags from $(pkg-config --static --libs libdpdk), all DPDK > drivers and libs were statically link