Merge pull request #88692 from Aver1y/libusb-pkgsMusl
libusb1: Fix for pkgsMusl
This commit is contained in:
commit
6231dc774d
|
@ -33,7 +33,9 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||||
|
|
||||||
preFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
configureFlags = stdenv.lib.optional (!enableSystemd) "--disable-udev";
|
||||||
|
|
||||||
|
preFixup = stdenv.lib.optionalString enableSystemd ''
|
||||||
sed 's,-ludev,-L${stdenv.lib.getLib systemd}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
sed 's,-ludev,-L${stdenv.lib.getLib systemd}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, withGssapiPatches ? false
|
, withGssapiPatches ? false
|
||||||
, kerberos
|
, kerberos
|
||||||
, libfido2
|
, libfido2
|
||||||
, withFIDO ? stdenv.hostPlatform.isUnix
|
, withFIDO ? stdenv.hostPlatform.isUnix && !stdenv.hostPlatform.isMusl
|
||||||
, linkOpenssl? true
|
, linkOpenssl? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue