forked from mirrors/nixpkgs
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";
|
||||
|
||||
preFixup = ''
|
||||
sed 's,-ludev,-L${udev}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.libusb.info;
|
||||
description = "User-space USB library";
|
||||
|
|
Loading…
Reference in a new issue