aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-08-20 17:00:40 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-08-21 13:22:29 -0700
commit05b54b4767ff9bd14f0c037d0c2b86447a077b66 (patch)
tree21f7700c556397a0c3fea746fe402dee13c8ec82 /mesonbuild/interpreter.py
parent79f8c763268477fdef3f6346d0333b1a3549ab34 (diff)
downloadmeson-05b54b4767ff9bd14f0c037d0c2b86447a077b66.zip
meson-05b54b4767ff9bd14f0c037d0c2b86447a077b66.tar.gz
meson-05b54b4767ff9bd14f0c037d0c2b86447a077b66.tar.bz2
PkgConfigDependency: Parse library paths in a separate step
pkg-config and pkgconf treat additional search paths in PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR differently when PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 is set. pkg-config always outputs -L flags for the additional paths first, and pkgconf always outputs -L flags for the default paths first. To account for this inconsistency, we now sort the library paths into two separate sets: system (default) and prefix (additional) paths. We can do this because we always query pkg-config twice: once with PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 set and once without it. Then, we ensure that the prefix paths are searched before the system paths. Closes https://github.com/mesonbuild/meson/issues/4023 Closes https://github.com/mesonbuild/meson/issues/3951
Diffstat (limited to 'mesonbuild/interpreter.py')
0 files changed, 0 insertions, 0 deletions