Skip to content

Commit

Permalink
Use dylibbundler to copy and resign libs for native arm64 builds. (#7…
Browse files Browse the repository at this point in the history
…1314)

Co-authored-by: Andrew Krieger <[email protected]>
  • Loading branch information
akrieger and Andrew Krieger authored Jan 29, 2024
1 parent b3a2e0d commit e64a948
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 96 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ jobs:
- name: Install build dependencies (mac)
if: runner.os == 'macOS'
run: |
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install gettext ccache parallel
HOMEBREW_NO_AUTO_UPDATE=yes HOMEBREW_NO_INSTALL_CLEANUP=yes brew install gettext ccache parallel dylibbundler
pip3 install dmgbuild biplist
- name: Create VERSION.TXT
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ endif # ifdef FRAMEWORK
endif # ifdef TILES

ifndef FRAMEWORK
python3 ./tools/copy_mac_libs.py $(APPRESOURCESDIR)/$(APPTARGET)
dylibbundler -of -b -x $(APPRESOURCESDIR)/$(APPTARGET) -d $(APPRESOURCESDIR)/ -p @executable_path/
endif # ifndef FRAMEWORK


Expand Down
94 changes: 0 additions & 94 deletions tools/copy_mac_libs.py

This file was deleted.

0 comments on commit e64a948

Please sign in to comment.