aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-05-20 22:50:12 +0300
committerGitHub <noreply@github.com>2019-05-20 22:50:12 +0300
commitef024583df79d30c0011914603a3212fd139ca3a (patch)
treec4cc86b679c31f75b6ffdc2d1cb53a880539c9d2 /mesonbuild/environment.py
parentfb35e6faac2a5efbb8fd0ff6ee5627b144adb184 (diff)
parent146e97e974fe02f93e3fb20d2a1cb850255f69fc (diff)
downloadmeson-ef024583df79d30c0011914603a3212fd139ca3a.zip
meson-ef024583df79d30c0011914603a3212fd139ca3a.tar.gz
meson-ef024583df79d30c0011914603a3212fd139ca3a.tar.bz2
Merge pull request #5276 from dcbaker/pkg-config-path-invalidate-cache
coredata: add pkg_config_path to depedency cache key
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 1ccdf98..6b536a4 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -535,7 +535,7 @@ class Environment:
self.coredata.meson_command = mesonlib.meson_command
self.first_invocation = True
- def is_cross_build(self):
+ def is_cross_build(self) -> bool:
return not self.machines.matches_build_machine(MachineChoice.HOST)
def dump_coredata(self):