mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
sane-backends: Need --enable-libusb_1_0 configure flag to find libusb
This commit is contained in:
parent
93f8bf653d
commit
5b5cdcfbac
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
udevSupport = hotplugSupport;
|
||||
|
||||
configureFlags = stdenv.lib.optional (libusb != null) "--enable-libusb_1_0";
|
||||
|
||||
buildInputs = []
|
||||
++ stdenv.lib.optional (libusb != null) libusb
|
||||
++ stdenv.lib.optional (libv4l != null) libv4l
|
||||
|
Loading…
Reference in New Issue
Block a user