libusb1: fix .la file
This commit is contained in:
parent
ec08cb9036
commit
4bc436ca3a
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
sed 's,-ludev,-L${udev}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.libusb.info;
|
homepage = http://www.libusb.info;
|
||||||
description = "User-space USB library";
|
description = "User-space USB library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user