Skip to content

Instantly share code, notes, and snippets.

View arbruijn's full-sized avatar

Arne de Bruijn arbruijn

View GitHub Profile
@arbruijn
arbruijn / make_portable.sh
Created October 12, 2022 13:22 — forked from Birch-san/make_portable.sh
Make a macOS executable binary or .dylib portable
#!/usr/bin/env bash
# Licensed by author Alex Birch under CC BY-SA 4.0
# https://creativecommons.org/licenses/by-sa/4.0/
# Example input:
# ./make_portable.sh mycoolbinary
# where mycoolbinary is a mach-o object file
# (for example an executable binary or a .dylib)
#