aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-11-22 17:45:38 -0500
committerEli Schwartz <eschwartz@archlinux.org>2022-01-20 23:50:04 -0500
commit2a992526045b702a8ab72968c98fef9f9e189d2b (patch)
treee9b6942f9b4c7ecc7c42a40dc34a73f0621688a6 /ci
parentacef5a97624c04b91b4bdbd2c3cf070c8d048b72 (diff)
downloadmeson-2a992526045b702a8ab72968c98fef9f9e189d2b.zip
meson-2a992526045b702a8ab72968c98fef9f9e189d2b.tar.gz
meson-2a992526045b702a8ab72968c98fef9f9e189d2b.tar.bz2
python module: only find a pkg-config dependency from the found python
If the found python returns None from sysconfig.get_config_var('LIBPC') then we cannot (and don't) set PKG_CONFIG_LIBDIR from it. In fact, we can virtually guarantee we won't find a PkgConfigDependency either, because any python that doesn't have a LIBPC is presumably not installed to the system pkg-config directory (maybe it's an isolated relocatable install, maybe it just doesn't have pkg-config support for who knows what reason). Trying to find one anyway using pkg-config's builtin search paths can unexpectedly succeed, though, by finding a completely unrelated python installation installed to a system location, which isn't the one we are actually building for. Instead, return early so that we use the system dependency class fallback. While we are at it, add back the debug messages from #3989 which got removed.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions