diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index e490e7dee..470305e91 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -487,7 +487,7 @@ class IntlSystemDependency(SystemDependency): self.is_found = True if self.static: - if not self._add_sub_dependency(iconv_factory(env, self.for_machine, {})): + if not self._add_sub_dependency(iconv_factory(env, self.for_machine, {'static': True})): self.is_found = False return