3
0
Fork 0
forked from mirrors/nixpkgs

pylibftdi: point to correct libusb library

This commit is contained in:
Matt Huszagh 2020-05-02 10:08:57 -07:00
parent 06bed53569
commit 81916c7444

View file

@ -23,7 +23,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pylibftdi/driver.py \
--replace "self._load_library('libusb')" "cdll.LoadLibrary('${libusb1.out}/lib/libusb1.so')" \
--replace "self._load_library('libusb')" "cdll.LoadLibrary('${libusb1.out}/lib/libusb-1.0.so')" \
--replace "self._load_library('libftdi')" "cdll.LoadLibrary('${libftdi1.out}/lib/libftdi1.so')"
'';