mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-23 04:43:58 +01:00
Added check for rpath in MacOS dotapp script
This commit is contained in:
parent
6f8fc86236
commit
66dcb5eb79
@ -13,4 +13,6 @@ get_second_arg() {
|
||||
# Get current rpath
|
||||
WANTED_RPATH=$(get_second_arg $(otool -l $EXEC | grep $RPATH_NAME | grep path))
|
||||
|
||||
install_name_tool -delete_rpath $WANTED_RPATH $EXEC
|
||||
if [ ! -z "$WANTED_RPATH" ]; then
|
||||
install_name_tool -delete_rpath $WANTED_RPATH $EXEC
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user