File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
1818 run : ./bin/openocd --version || true
1919 - name : Fix dylib dependencies
2020 run : |
21- cd bin
22- # Fix openocd binary to search for dylibs in ../lib directory
21+ cd bin
22+ # Fix openocd binary to use local dylibs
2323 echo "Fixing openocd dependencies..."
24- install_name_tool -change /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib "@loader_path/../lib /libusb-1.0.0.dylib" ./openocd
25- install_name_tool -change /opt/homebrew/opt/hidapi/lib/libhidapi.0.dylib "@loader_path/../lib /libhidapi.0.dylib" ./openocd
24+ install_name_tool -change /opt/homebrew/opt/libusb/lib/libusb-1.0.0.dylib "@executable_path/. /libusb-1.0.0.dylib" ./openocd
25+ install_name_tool -change /opt/homebrew/opt/hidapi/lib/libhidapi.0.dylib "@executable_path/. /libhidapi.0.dylib" ./openocd
2626
2727 # Verify the changes
2828 otool -L ./openocd
3434 name : openocd-fixed
3535 path : |
3636 bin/openocd
37- lib /libusb-1.0.0.dylib
38- lib /libhidapi.0.dylib
37+ bin /libusb-1.0.0.dylib
38+ bin /libhidapi.0.dylib
You can’t perform that action at this time.
0 commit comments