diff options
author | David Robillard <d@drobilla.net> | 2022-07-13 15:51:25 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-13 16:18:59 -0400 |
commit | 47adc7d3dec1e1d2454750612d48353944fcf836 (patch) | |
tree | 4ce5621fe794e4aeee61ed8de9180bc49f46e1d0 /test | |
parent | 2465c3f2779617658cf85d3cbc0ca7b786a4ddca (diff) | |
download | serd-47adc7d3dec1e1d2454750612d48353944fcf836.tar.gz serd-47adc7d3dec1e1d2454750612d48353944fcf836.tar.bz2 serd-47adc7d3dec1e1d2454750612d48353944fcf836.zip |
Simplify linking against static libraries
This adds -DSERD_STATIC to the Cflags in the pkg-config file if serd is built
as a static library, to simplify linking against a static serd library with
pkg-config. Note that this only works for default_library=static. For linking
against libraries built with default_library=both, dependant projects must
still specify SERD_STATIC for static builds.
Resolving that requires meson adding support for writing Cflags.local, and the
world migrating to pkgconf (or improving pkg-config) so it is supported.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions