Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / me / meson / 003-more-env-vars.patch
blobe4ad43550423dddd33b6294e3d34a700a0d6938f
1 diff -Naur meson-0.60.2-old/mesonbuild/environment.py meson-0.60.2-new/mesonbuild/environment.py
2 --- meson-0.60.2-old/mesonbuild/environment.py 2021-11-02 16:58:13.000000000 -0300
3 +++ meson-0.60.2-new/mesonbuild/environment.py 2021-12-12 17:44:00.350499307 -0300
4 @@ -68,7 +68,7 @@
5 # compiling we fall back on the unprefixed host version. This
6 # allows native builds to never need to worry about the 'BUILD_*'
7 # ones.
8 - ([var_name + '_FOR_BUILD'] if is_cross else [var_name]),
9 + [var_name + '_FOR_BUILD'] + ([] if is_cross else [var_name]),
10 # Always just the unprefixed host versions
11 [var_name]
12 )[for_machine]