aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-02-11 14:48:30 -0500
committerEli Schwartz <eschwartz@archlinux.org>2022-02-15 16:50:41 -0500
commit6240920c213fb76b4e4be8b6b59ae3346cbbcf77 (patch)
tree33ea225046c625f5942cf1972df9e52a17992482 /mesonbuild/backend/backends.py
parent2d56ff135e6e0f3cdf455797a6561796a8c1b7b4 (diff)
downloadmeson-6240920c213fb76b4e4be8b6b59ae3346cbbcf77.zip
meson-6240920c213fb76b4e4be8b6b59ae3346cbbcf77.tar.gz
meson-6240920c213fb76b4e4be8b6b59ae3346cbbcf77.tar.bz2
pkgconfig module: allow custom variables to reference builtin directories
Automatically generate additional variables and write them into the generated pkg-config file. This means projects no longer need to manually define the ones they use, which is annoying for dataonly usages (it used to forbid setting the base library-relevant "reserved" ones, and now allows it only for dataonly. But it's bloat to manualy list them anyway). It also fixes a regression in commit 248e6cf4736ef9ec636228da66c28f9be03aa74f which caused libdir to not be set, and to be unsettable, if the pkg-config file has no libraries but uses the ${libdir} expansion in a custom variable. This could be considered likely a case for dataonly, but it's not guaranteed.
Diffstat (limited to 'mesonbuild/backend/backends.py')
0 files changed, 0 insertions, 0 deletions