aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/dev.py
diff options
context:
space:
mode:
authorWolfgang Stöggl <c72578@yahoo.de>2019-11-06 14:49:00 +0100
committerMichael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com>2019-11-06 09:55:30 -0500
commitf037e7ef4538b37625c0893d32cad36e72648c8a (patch)
tree90c594eac530b600ac64168e50f2f8a298ebff56 /mesonbuild/dependencies/dev.py
parentf56ef583d3c8ecda7725ca04b48011c9081a7349 (diff)
downloadmeson-f037e7ef4538b37625c0893d32cad36e72648c8a.zip
meson-f037e7ef4538b37625c0893d32cad36e72648c8a.tar.gz
meson-f037e7ef4538b37625c0893d32cad36e72648c8a.tar.bz2
Fix typos found by codespell
- Typos were found by codespell v1.16.0
Diffstat (limited to 'mesonbuild/dependencies/dev.py')
-rw-r--r--mesonbuild/dependencies/dev.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py
index 6288739..894bfdc 100644
--- a/mesonbuild/dependencies/dev.py
+++ b/mesonbuild/dependencies/dev.py
@@ -33,7 +33,7 @@ from typing import List, Tuple
def get_shared_library_suffix(environment, for_machine: MachineChoice):
- """This is only gauranteed to work for languages that compile to machine
+ """This is only guaranteed to work for languages that compile to machine
code, not for languages like C# that use a bytecode and always end in .dll
"""
m = environment.machines[for_machine]
@@ -292,7 +292,7 @@ class LLVMDependencyConfigTool(ConfigToolDependency):
if not self.static and mode == 'static':
# If llvm is configured with LLVM_BUILD_LLVM_DYLIB but not with
# LLVM_LINK_LLVM_DYLIB and not LLVM_BUILD_SHARED_LIBS (which
- # upstreams doesn't recomend using), then llvm-config will lie to
+ # upstream doesn't recommend using), then llvm-config will lie to
# you about how to do shared-linking. It wants to link to a a bunch
# of individual shared libs (which don't exist because llvm wasn't
# built with LLVM_BUILD_SHARED_LIBS.
@@ -305,7 +305,7 @@ class LLVMDependencyConfigTool(ConfigToolDependency):
except DependencyException:
lib_ext = get_shared_library_suffix(environment, self.for_machine)
libdir = self.get_config_value(['--libdir'], 'link_args')[0]
- # Sort for reproducability
+ # Sort for reproducibility
matches = sorted(glob.iglob(os.path.join(libdir, 'libLLVM*{}'.format(lib_ext))))
if not matches:
if self.required: