From ac0644a70ae251ccaae1cfc6c23a1c04d7a99d10 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Wed, 1 Sep 2021 12:07:57 -0400 Subject: [PATCH] Added my quick script to fixup Mac dylib paths --- desktop_version/fixupMac.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 desktop_version/fixupMac.sh diff --git a/desktop_version/fixupMac.sh b/desktop_version/fixupMac.sh new file mode 100755 index 00000000..8effd4f3 --- /dev/null +++ b/desktop_version/fixupMac.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# flibit has this solely for convenience when cleaning up Mac binaries. + +install_name_tool -change /usr/local/lib/libSDL2-2.0.0.dylib @rpath/libSDL2-2.0.0.dylib VVVVVV +install_name_tool -change /usr/local/lib/libSDL2_mixer-2.0.0.dylib @rpath/libSDL2_mixer-2.0.0.dylib VVVVVV +strip -S VVVVVV +otool -L VVVVVV