More MacOS work 4

This commit is contained in:
AlexandreRouma
2021-11-15 17:59:52 +01:00
parent 599a53b49b
commit f5b07f6a60
2 changed files with 24 additions and 21 deletions

View File

@ -14,5 +14,7 @@ get_first_arg() {
# Get current path
CURRENT_PATH=$(get_first_arg $(otool -L $EXEC | grep $WANTED_LIB))
echo Current path: $CURRENT_PATH
# Change to the new path
install_name_tool -change $CURRENT_PATH $NEW_PATH $EXEC