From f037e7ef4538b37625c0893d32cad36e72648c8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20St=C3=B6ggl?= Date: Wed, 6 Nov 2019 14:49:00 +0100 Subject: Fix typos found by codespell - Typos were found by codespell v1.16.0 --- mesonbuild/dependencies/dev.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mesonbuild/dependencies/dev.py') 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: -- cgit v1.1