Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Luca Boccassi
On Wed, 2020-04-29 at 11:58 +0100, Bruce Richardson wrote: > On Wed, Apr 29, 2020 at 11:37:02AM +0100, Luca Boccassi wrote: > > On Wed, 2020-04-29 at 11:08 +0100, Bruce Richardson wrote: > > > Rather than setting -Bstatic in the linker flags when doing a static link, > > > and then having to explic

Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Bruce Richardson
On Wed, Apr 29, 2020 at 11:37:02AM +0100, Luca Boccassi wrote: > On Wed, 2020-04-29 at 11:08 +0100, Bruce Richardson wrote: > > Rather than setting -Bstatic in the linker flags when doing a static link, > > and then having to explicitly set -Bdynamic again afterwards, we can update > > the pkg-conf

Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Thomas Monjalon
29/04/2020 12:56, Bruce Richardson: > On Wed, Apr 29, 2020 at 12:32:51PM +0200, Thomas Monjalon wrote: > > 29/04/2020 12:08, Bruce Richardson: > > > Rather than setting -Bstatic in the linker flags when doing a static link, > > > and then having to explicitly set -Bdynamic again afterwards, we can

Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Bruce Richardson
On Wed, Apr 29, 2020 at 12:32:51PM +0200, Thomas Monjalon wrote: > 29/04/2020 12:08, Bruce Richardson: > > Rather than setting -Bstatic in the linker flags when doing a static link, > > and then having to explicitly set -Bdynamic again afterwards, we can update > > the pkg-config file to use -l:lib

Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Luca Boccassi
On Wed, 2020-04-29 at 11:08 +0100, Bruce Richardson wrote: > Rather than setting -Bstatic in the linker flags when doing a static link, > and then having to explicitly set -Bdynamic again afterwards, we can update > the pkg-config file to use -l:libfoo.a syntax to explicitly refer to the > static l

Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Thomas Monjalon
29/04/2020 12:08, Bruce Richardson: > Rather than setting -Bstatic in the linker flags when doing a static link, > and then having to explicitly set -Bdynamic again afterwards, we can update > the pkg-config file to use -l:libfoo.a syntax to explicitly refer to the > static library in question. Sin

[dpdk-dev] [PATCH 6/7] build/pkg-config: improve static linking flags

2020-04-29 Thread Bruce Richardson
Rather than setting -Bstatic in the linker flags when doing a static link, and then having to explicitly set -Bdynamic again afterwards, we can update the pkg-config file to use -l:libfoo.a syntax to explicitly refer to the static library in question. Since this syntax is not supported by meson's p