meson: 0.54.1 → 0.54.2
https://github.com/mesonbuild/meson/compare/0.54.1...0.54.2
This commit is contained in:
parent
bf60834d6d
commit
282cb2f8d6
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "meson";
|
pname = "meson";
|
||||||
version = "0.54.1";
|
version = "0.54.2";
|
||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "L3b7RXJ2K+E+5HkpJhAJG0UJr1eIvM6zkf4iK80Cltw=";
|
sha256 = "p3Fu6uj43/AC5BR2Qliatklv+DnkN2pa7XYfg8H6BFU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
@ -1,16 +1,13 @@
|
|||||||
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
|
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
|
||||||
index ac13a710..e0d07c51 100644
|
index 17058df6b..7a68b7f15 100644
|
||||||
--- a/mesonbuild/envconfig.py
|
--- a/mesonbuild/envconfig.py
|
||||||
+++ b/mesonbuild/envconfig.py
|
+++ b/mesonbuild/envconfig.py
|
||||||
@@ -119,9 +119,9 @@ def get_env_var_pair(for_machine: MachineChoice,
|
@@ -120,7 +120,7 @@ def get_env_var_pair(for_machine: MachineChoice,
|
||||||
# compiling we fall back on the unprefixed host version. This
|
# compiling we fall back on the unprefixed host version. This
|
||||||
# allows native builds to never need to worry about the 'BUILD_*'
|
# allows native builds to never need to worry about the 'BUILD_*'
|
||||||
# ones.
|
# ones.
|
||||||
- ([var_name + '_FOR_BUILD'] if is_cross else [var_name]),
|
- ([var_name + '_FOR_BUILD'] if is_cross else [var_name]),
|
||||||
+ [var_name + '_FOR_BUILD'] + ([] if is_cross else [var_name]),
|
+ [var_name + '_FOR_BUILD'] + ([] if is_cross else [var_name]),
|
||||||
# Always just the unprefixed host verions
|
# Always just the unprefixed host verions
|
||||||
- ([] if is_cross else [var_name]),
|
[var_name]
|
||||||
+ [var_name],
|
|
||||||
)[for_machine]
|
)[for_machine]
|
||||||
for var in candidates:
|
|
||||||
value = os.environ.get(var)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user