Fix make_universal.py not taking into account 64-bit bundle dylibs

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-08-26 15:22:30 +08:00 committed by Matthieu Gallien
parent 2281d7f29d
commit 4cdf0d7446

View file

@ -34,7 +34,8 @@ def path_relative_to_package(app_package_file_path, file_path):
def is_executable(file_path):
output = str(execute(["file", file_path]))
if (("Mach-O 64-bit dynamically linked shared library" in output)
or ("Mach-O 64-bit executable" in output)):
or ("Mach-O 64-bit executable" in output)
or ("Mach-O 64-bit bundle" in output)):
return True
return False