mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 12:27:51 +02:00
More work on MacOS and the scheduler
This commit is contained in:
14
macos/set_library_path.sh
Normal file
14
macos/set_library_path.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
WANTED_LIB=$1
|
||||
NEW_PATH=$2
|
||||
EXEC=$3
|
||||
|
||||
get_first_arg() {
|
||||
echo $1
|
||||
}
|
||||
|
||||
CURRENT_RPATH=$(get_first_arg $(otool -L $EXEC | grep $WANTED_LIB))
|
||||
|
||||
echo $CURRENT_RPATH
|
Reference in New Issue
Block a user