Closed thesuperzapper closed 2 years ago
@pelwell, @peterharperuk, or @timg236 I would really appreciate your quick look at this, as macOS users can't sucessfully build without this small change.
Although initially concerned about it being a more heavyweight solution, even CygWin has pkg-config, so most users should be able to cope.
This PR resolves https://github.com/raspberrypi/usbboot/issues/81, and closes https://github.com/raspberrypi/usbboot/pull/25.
This is a very simple change that uses
pkg-config
to locatelibusb-1.0
rather than assuming its path, allowing users who have installedlibusb-1.0
with homebrew to successfully build withmake
.Thanks to @khorben (PR: #25) and @Parnoud (Issue: https://github.com/raspberrypi/usbboot/issues/81#issuecomment-851637615) for laying out the solution.