mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 09:56:13 +03:00
libjack2: fix cross
Always defaults to unprefixed pkg-config, even when cross-compiling. Fixes: https://github.com/NixOS/nixpkgs/issues/96548
This commit is contained in:
parent
77c48c6f8a
commit
8b9ff564c7
@ -48,6 +48,9 @@ stdenv.mkDerivation rec {
|
||||
--replace /bin/bash ${bash}/bin/bash
|
||||
'';
|
||||
|
||||
PKGCONFIG = "${stdenv.cc.targetPrefix}pkg-config";
|
||||
|
||||
dontAddWafCrossFlags = "true";
|
||||
wafConfigureFlags = [
|
||||
"--classic"
|
||||
"--autostart=${if (optDbus != null) then "dbus" else "classic"}"
|
||||
|
Loading…
Reference in New Issue
Block a user