Browse Source

Fixed MacOS dylib custom targets not marked as linkable

tags/0.56.0.rc1
Marco Mastropaolo Nirbheek Chauhan 1 month ago
parent
commit
93b1d31af9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mesonbuild/build.py

+ 1
- 1
mesonbuild/build.py View File

@@ -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):


Loading…
Cancel
Save