mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-12 19:27:11 +01:00
More MacOS work 6
This commit is contained in:
parent
799e8c7e02
commit
2620d688ec
@ -14,7 +14,5 @@ get_first_arg() {
|
||||
# Get current path
|
||||
CURRENT_PATH=$(get_first_arg $(otool -L $EXEC | grep $WANTED_LIB))
|
||||
|
||||
echo "Current path for" $WANTED_LIB "in" $EXEC ":" $CURRENT_PATH
|
||||
|
||||
# Change to the new path
|
||||
install_name_tool -change $CURRENT_PATH $NEW_PATH $EXEC
|
@ -28,19 +28,19 @@ LIBGLFW_PATH=$(sh macos/get_library_path.sh libglfw $DOTAPP/Contents/MacOS/sdrpp
|
||||
LIBVOLK_PATH=$(sh macos/get_library_path.sh libvolk $DOTAPP/Contents/MacOS/sdrpp)
|
||||
|
||||
# Modify path for sdrpp
|
||||
sh macos/set_library_path.sh libglew @rpath/libglew.dylib $DOTAPP/Contents/MacOS/sdrpp
|
||||
sh macos/set_library_path.sh libGLEW @rpath/libGLEW.dylib $DOTAPP/Contents/MacOS/sdrpp
|
||||
sh macos/set_library_path.sh libfftw3f @rpath/libfftw3f.dylib $DOTAPP/Contents/MacOS/sdrpp
|
||||
sh macos/set_library_path.sh libglfw @rpath/libglfw.dylib $DOTAPP/Contents/MacOS/sdrpp
|
||||
sh macos/set_library_path.sh libvolk @rpath/libvolk.dylib $DOTAPP/Contents/MacOS/sdrpp
|
||||
|
||||
# Modify path for libsdrpp_core
|
||||
sh macos/set_library_path.sh libglew @rpath/libglew.dylib $DOTAPP/Contents/Frameworks/libsdrpp_core.dylib
|
||||
sh macos/set_library_path.sh libGLEW @rpath/libGLEW.dylib $DOTAPP/Contents/Frameworks/libsdrpp_core.dylib
|
||||
sh macos/set_library_path.sh libfftw3f @rpath/libfftw3f.dylib $DOTAPP/Contents/Frameworks/libsdrpp_core.dylib
|
||||
sh macos/set_library_path.sh libglfw @rpath/libglfw.dylib $DOTAPP/Contents/Frameworks/libsdrpp_core.dylib
|
||||
sh macos/set_library_path.sh libvolk @rpath/libvolk.dylib $DOTAPP/Contents/Frameworks/libsdrpp_core.dylib
|
||||
|
||||
# Copy deps
|
||||
cp $LIBGLEW_PATH $DOTAPP/Contents/Frameworks/libglew.dylib
|
||||
cp $LIBGLEW_PATH $DOTAPP/Contents/Frameworks/libGLEW.dylib
|
||||
cp $LIBFFTW3F_PATH $DOTAPP/Contents/Frameworks/libfftw3f.dylib
|
||||
cp $LIBGLFW_PATH $DOTAPP/Contents/Frameworks/libglfw.dylib
|
||||
cp $LIBVOLK_PATH $DOTAPP/Contents/Frameworks/libvolk.dylib
|
||||
|
Loading…
Reference in New Issue
Block a user