numam-dpdk/examples/vhost
Bruce Richardson 8549295db0 build/pkg-config: improve static linking flags
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.

Once done, we can simplify the examples' makefiles and the docs by removing
the explicit static flag.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: Sunil Pai G <sunil.pai.g@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2020-07-01 19:30:52 +02:00
..
main.c examples: add flush after stats printing 2020-06-25 00:20:01 +02:00
main.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
Makefile build/pkg-config: improve static linking flags 2020-07-01 19:30:52 +02:00
meson.build build: increase readability via shortcut variables 2019-04-17 18:09:52 +02:00
virtio_net.c examples/vhost: fix header copy to discontiguous desc buffer 2018-05-14 22:31:03 +01:00