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
..
2020-04-16 18:16:46 +02:00
2018-04-05 18:23:49 +02:00
2018-04-05 19:00:00 +02:00
2018-07-12 13:48:29 +02:00
2018-10-12 19:33:09 +02:00
2020-02-05 14:37:41 +01:00
2018-04-05 18:23:51 +02:00
2019-10-25 18:07:26 +02:00