Skip to content

Commit afffd30

Browse files
shinra-electricMegamouse
authored andcommitted
Make hack for removing rpath failable
1 parent 8ea2109 commit afffd30

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.ci/deploy-mac-arm64.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ rm -rf "rpcs3.app/Contents/Frameworks/QtPdf.framework" \
3232
../../.ci/optimize-mac.sh rpcs3.app
3333

3434
# Hack
35-
install_name_tool \
36-
-delete_rpath /opt/homebrew/lib \
37-
-delete_rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib RPCS3.app/Contents/MacOS/rpcs3
38-
#-delete_rpath /opt/homebrew1/Cellar/sdl3/3.2.8/lib
35+
install_name_tool -delete_rpath /opt/homebrew/lib RPCS3.app/Contents/MacOS/rpcs3 || echo "Hack for deleting rpath /opt/homebrew/lib not needed"
36+
install_name_tool -delete_rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib RPCS3.app/Contents/MacOS/rpcs3 || echo "Hack for deleting rpath /opt/homebrew/opt/llvm@$LLVM_COMPILER_VER/lib not needed"
3937

4038
# Need to do this rename hack due to case insensitive filesystem
4139
mv rpcs3.app RPCS3_.app

0 commit comments

Comments
 (0)