I am getting this error in msys2 when trying to compile stlink-tool
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
git clone https://github.com/jeanthom/stlink-tool
did not bring down the libusb folder
pkg-config was installed by pacman msys/pkg-config 0.29.2-4
I downloaded libusb-1.0.23.tar.bz2 from https://github.com/libusb/libusb/releases/tag/v1.0.23 but not clear to me what to do next to resolve this error.