Merge pull request #157798 from NickCao/vamp-cross

vamp-plugin-sdk: fix cross compilation
This commit is contained in:
Robert Scott 2022-02-02 23:06:21 +00:00 committed by GitHub
commit 444e78082e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";