lv2: support cross-compilation

The waf cross flags seem to not be useful for most packages, to me.
I'll just set the flag for now, but maybe turning it around
may be more useful to do somewhere in the future.
This commit is contained in:
Rick van Schijndel 2022-04-10 17:09:34 +02:00
parent a13f4f6c1c
commit 6594048793

View file

@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkg-config
wafHook
python3
];
buildInputs = [
@ -35,6 +36,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals stdenv.isDarwin [
"--lv2dir=${placeholder "out"}/lib/lv2"
];
dontAddWafCrossFlags = true;
passthru.tests = {
inherit pipewire;