forked from mirrors/nixpkgs
Merge pull request #15251 from acowley/libsndfile
libsndfile: pass AudioToolbox framework on darwin
This commit is contained in:
commit
3249d87b37
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, flac, libogg, libvorbis, pkgconfig
|
||||
, Carbon
|
||||
, Carbon, AudioToolbox
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ pkgconfig flac libogg libvorbis ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Carbon;
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -8043,7 +8043,7 @@ in
|
|||
libsigsegv_25 = callPackage ../development/libraries/libsigsegv/2.5.nix { };
|
||||
|
||||
libsndfile = callPackage ../development/libraries/libsndfile {
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon;
|
||||
inherit (darwin.apple_sdk.frameworks) Carbon AudioToolbox;
|
||||
};
|
||||
|
||||
libsodium = callPackage ../development/libraries/libsodium { };
|
||||
|
|
Loading…
Reference in a new issue