vamp-plugin-sdk: fix cross compilation

This commit is contained in:
Nick Cao 2022-01-06 18:00:59 +08:00
parent 16ed47c966
commit a72e7726b3
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
buildInputs = [ libsndfile ];
enableParallelBuilding = true;
makeFlags = [
"AR:=$(AR)"
"RANLIB:=$(RANLIB)"
] ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-o test";
meta = with lib; {
description = "Audio processing plugin system for plugins that extract descriptive information from audio data";