aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorMarco Mastropaolo <marcomp@amazon.com>2020-09-16 17:34:52 +0200
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2020-09-17 11:22:41 +0000
commit93b1d31af9d90f306aa104eee1e9be8e1ebbacad (patch)
tree2dfbbfb7439e702f2437f07d15e114e8f9c8e39f /mesonbuild/build.py
parent3526b36a772b1ae38c7c0be30cf8cdb766e8914f (diff)
downloadmeson-93b1d31af9d90f306aa104eee1e9be8e1ebbacad.zip
meson-93b1d31af9d90f306aa104eee1e9be8e1ebbacad.tar.gz
meson-93b1d31af9d90f306aa104eee1e9be8e1ebbacad.tar.bz2
Fixed MacOS dylib custom targets not marked as linkable
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 7db490a..f56e484 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):