Fixed MacOS dylib custom targets not marked as linkable

pull/7754/head
Marco Mastropaolo 4 лет назад коммит произвёл Nirbheek Chauhan
Родитель 3526b36a77
Сommit 93b1d31af9
  1. 2
      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):

Загрузка…
Отмена
Сохранить