aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-07-10 01:31:18 -0400
committerXavier Claessens <xclaesse@gmail.com>2022-09-07 16:19:09 -0400
commit7bdfe7ccb224d65b21feea4c6a92ddf57ca0c18c (patch)
tree4e70cf310304e61f95c055ef827743c5e2453682 /mesonbuild/compilers/compilers.py
parent5fec9f5db9f9bc56577a7a76b32fd49ebe36800b (diff)
downloadmeson-7bdfe7ccb224d65b21feea4c6a92ddf57ca0c18c.zip
meson-7bdfe7ccb224d65b21feea4c6a92ddf57ca0c18c.tar.gz
meson-7bdfe7ccb224d65b21feea4c6a92ddf57ca0c18c.tar.bz2
wrap: correctly override dependency names with capital letters
When we do wrap resolution, we do a case-insensitive lookup because keys, i.e. `dep_name = variable_name`, are case insensitive. In order to check whether we should process a subproject, we need to know if the lowercased dependency name matches. We do this by looking up the lowercase name, and assuming that the stored name is also lowercase. But for dependency_names, this isn't "case insensitive and stored in lowercase" so we need to manually force it to be consistent. Likewise, when looking up the wrap name (which works like dependency_names and doesn't need a provide section at all) the disk filename of the wrap file is case sensitive, but needs to be manually forced for consistency.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions