darwin purity: libusb1 (depend on udev on linux only)
This commit is contained in:
parent
616ed6ee15
commit
20268f6382
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
preFixup = ''
|
||||
preFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
sed 's,-ludev,-L${udev}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue