diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 7db490a63..f56e48469 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2245,7 +2245,7 @@ class CustomTarget(Target): if len(self.outputs) != 1: return False suf = os.path.splitext(self.outputs[0])[-1] - if suf == '.a' or suf == '.dll' or suf == '.lib' or suf == '.so': + if suf == '.a' or suf == '.dll' or suf == '.lib' or suf == '.so' or suf == '.dylib': return True def get_link_deps_mapping(self, prefix, environment):