Skip to content

Commit

Permalink
Fix make_universal.py not taking into account 64-bit bundle dylibs
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Sep 9, 2024
1 parent 89c91dd commit d82c342
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/osx/make_universal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d82c342

Please sign in to comment.