Fix comment typos

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
This commit is contained in:
Sam James 2024-02-08 03:54:44 +00:00 committed by Eli Schwartz
parent 99ea390af8
commit 369cc28e59
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
1 changed files with 2 additions and 2 deletions

View File

@ -329,7 +329,7 @@ class LLVMDependencyConfigTool(ConfigToolDependency):
Old versions of LLVM bring an extra level of insanity with them. Old versions of LLVM bring an extra level of insanity with them.
llvm-config will provide the correct arguments for static linking, but llvm-config will provide the correct arguments for static linking, but
not for shared-linnking, we have to figure those out ourselves, because not for shared-linking, we have to figure those out ourselves, because
of course we do. of course we do.
""" """
if self.static: if self.static:
@ -413,7 +413,7 @@ class LLVMDependencyCMake(CMakeDependency):
if not self.is_found: if not self.is_found:
return return
#CMake will return not found due to not defined LLVM_DYLIB_COMPONENTS # CMake will return not found due to not defined LLVM_DYLIB_COMPONENTS
if not self.static and version_compare(self.version, '< 7.0') and self.llvm_modules: if not self.static and version_compare(self.version, '< 7.0') and self.llvm_modules:
mlog.warning('Before version 7.0 cmake does not export modules for dynamic linking, cannot check required modules') mlog.warning('Before version 7.0 cmake does not export modules for dynamic linking, cannot check required modules')
return return