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:libfoo.a syntax to explicitly refer to the > > static library in question. Since this syntax is not supported by meson's > > pkg-config module directly, we can post-process the .pc files instead to > > adjust them. > > It looks to be the same workaround I did for ibverbs static linkage :) > sed -r "/^-l($deps)/! s,(^-l)(.*),\1:lib\2.a," > Are you implying that I normally learn nothing from your patches? :-)
- [dpdk-dev] [PATCH 3/7] devtools/test-meson-builds.sh: add... Bruce Richardson
- [dpdk-dev] [PATCH 1/7] build: always link-whole DPDK stat... Bruce Richardson
- Re: [dpdk-dev] [PATCH 1/7] build: always link-whole ... Thomas Monjalon
- Re: [dpdk-dev] [PATCH 1/7] build: always link-wh... Bruce Richardson
- Re: [dpdk-dev] [PATCH 1/7] build: always lin... Thomas Monjalon
- [dpdk-dev] [PATCH 2/7] build: remove unnecessary variable Bruce Richardson
- Re: [dpdk-dev] [PATCH 2/7] build: remove unnecessary... Thomas Monjalon
- Re: [dpdk-dev] [PATCH 2/7] build: remove unneces... Bruce Richardson
- [dpdk-dev] [PATCH 6/7] build/pkg-config: improve static l... Bruce Richardson
- Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve... Thomas Monjalon
- Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: imp... Bruce Richardson
- Re: [dpdk-dev] [PATCH 6/7] build/pkg-config:... Thomas Monjalon
- Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: improve... Luca Boccassi
- Re: [dpdk-dev] [PATCH 6/7] build/pkg-config: imp... Bruce Richardson
- Re: [dpdk-dev] [PATCH 6/7] build/pkg-config:... Luca Boccassi
- [dpdk-dev] [PATCH 5/7] build/pkg-config: output driver li... Bruce Richardson
- Re: [dpdk-dev] [PATCH 5/7] build/pkg-config: output ... Thomas Monjalon
- Re: [dpdk-dev] [PATCH 5/7] build/pkg-config: out... Bruce Richardson
- Re: [dpdk-dev] [PATCH 5/7] build/pkg-config: output ... Luca Boccassi
- Re: [dpdk-dev] [PATCH 5/7] build/pkg-config: out... Bruce Richardson
- Re: [dpdk-dev] [PATCH 5/7] build/pkg-config:... Luca Boccassi