2018-03-21 22:12:14 +01:00
|
|
|
--- a/mesonbuild/dependencies/dev.py
|
|
|
|
+++ b/mesonbuild/dependencies/dev.py
|
|
|
|
@@ -205,10 +205,10 @@ class LLVMDependency(ConfigToolDependenc
|
|
|
|
not for shared-linnking, we have to figure those out ourselves, because
|
|
|
|
of course we do.
|
|
|
|
"""
|
|
|
|
- if self.static:
|
|
|
|
- self.link_args = self.get_config_value(
|
|
|
|
- ['--libs', '--ldflags', '--system-libs'] + list(self.required_modules),
|
|
|
|
- 'link_args')
|
|
|
|
+ self.link_args = self.get_config_value(
|
|
|
|
+ ['--libs', '--ldflags', '--system-libs'] + list(self.required_modules),
|
|
|
|
+ 'link_args')
|
|
|
|
+ """
|
|
|
|
else:
|
|
|
|
# llvm-config will provide arguments for static linking, so we get
|
|
|
|
# to figure out for ourselves what to link with. We'll do that by
|
|
|
|
@@ -227,6 +227,7 @@ class LLVMDependency(ConfigToolDependenc
|
|
|
|
else:
|
|
|
|
raise DependencyException(
|
|
|
|
'Could not find a dynamically linkable library for LLVM.')
|
2018-03-22 19:47:28 +01:00
|
|
|
+ """
|
2018-03-21 22:12:14 +01:00
|
|
|
|
|
|
|
def check_components(self, modules, required=True):
|
|
|
|
"""Check for llvm components (modules in meson terms).
|