aubio: fix cross compilation

This commit is contained in:
Nick Cao 2022-01-10 16:47:17 +08:00
parent b398f196e6
commit 266dbe4ebc
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
buildInputs = [ alsa-lib fftw libjack2 libsamplerate libsndfile ];
strictDeps = true;
dontAddWafCrossFlags = true;
wafFlags = lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--disable-tests";
meta = with lib; {
description = "Library for audio labelling";