qmk / qmk_toolbox

A Toolbox companion for QMK Firmware
https://qmk.fm/toolbox
MIT License
2.66k stars 519 forks source link

[macOS] Fix missing libavrdude #454

Closed fauxpark closed 8 months ago

fauxpark commented 9 months ago

Description

Followup to https://github.com/qmk/qmk_toolbox/pull/449 as apparently avrdude now requires its own dylib to work.

install_name_tool -change "@rpath/libavrdude.1.dylib" "@executable_path/../Frameworks/libavrdude.1.0.0.dylib" avrdude

install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/libusb-compat/lib/libusb-0.1.4.dylib" "@executable_path/../Frameworks/libusb-0.1.4.dylib" libavrdude.1.0.0.dylib
install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/libusb/lib/libusb-1.0.0.dylib" "@executable_path/../Frameworks/libusb-1.0.0.dylib" libavrdude.1.0.0.dylib
install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/hidapi/lib/libhidapi.0.dylib" "@executable_path/../Frameworks/libhidapi.0.14.0.dylib" libavrdude.1.0.0.dylib
install_name_tool -change "@@HOMEBREW_PREFIX@@/opt/libftdi/lib/libftdi1.2.dylib" "@executable_path/../Frameworks/libftdi1.2.5.0.dylib" libavrdude.1.0.0.dylib

install_name_tool -id "@executable_path/../Frameworks/libavrdude.1.0.0.dylib" libavrdude.1.0.0.dylib

Types of Changes

Issues Fixed or Closed by This PR