Fix make_universal.py not taking into account 64-bit bundle dylibs
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Mon, 26 Aug 2024 07:22:30 +0000 (15:22 +0800)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Mon, 9 Sep 2024 14:00:43 +0000 (16:00 +0200)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
admin/osx/make_universal.py

index 1b31e83179c7c7d13865e0b78a2777ffd8d317d5..e5915e1089ff24f40be5e911f091e6fb6ba36743 100755 (executable)
@@ -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