aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorEdward Betts <edward@4angle.com>2018-01-19 09:16:02 +0000
committerJussi Pakkanen <jpakkane@gmail.com>2018-01-19 15:53:00 +0200
commitbdfcecd2c6337cc9ebc3256abadafe0d47b90a8d (patch)
tree4e1f8f97472a765f0a5d6b9213b9f7891c18bc1b /mesonbuild
parenta941ba219c57b49cc81338a4ff1f31e9d5cd7ee9 (diff)
downloadmeson-bdfcecd2c6337cc9ebc3256abadafe0d47b90a8d.zip
meson-bdfcecd2c6337cc9ebc3256abadafe0d47b90a8d.tar.gz
meson-bdfcecd2c6337cc9ebc3256abadafe0d47b90a8d.tar.bz2
Correct spelling mistakes.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/dependencies/base.py4
-rw-r--r--mesonbuild/environment.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
index 71494c8..560e389 100644
--- a/mesonbuild/dependencies/base.py
+++ b/mesonbuild/dependencies/base.py
@@ -271,8 +271,8 @@ class ConfigToolDependency(ExternalDependency):
out = self._sanitize_version(out.strip())
# Some tools, like pcap-config don't supply a version, but also
- # dont fail with --version, in that case just assume that there is
- # only one verison and return it.
+ # don't fail with --version, in that case just assume that there is
+ # only one version and return it.
if not out:
return (tool, 'none')
if versions:
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index e5aa43e..53bba60 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -968,7 +968,7 @@ class CrossBuildInfo:
def get_properties(self):
return self.config['properties']
- # Wehn compiling a cross compiler we use the native compiler for everything.
+ # When compiling a cross compiler we use the native compiler for everything.
# But not when cross compiling a cross compiler.
def need_cross_compiler(self):
return 'host_machine' in self.config