fluidsynth: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-12-09 23:32:03 +01:00
parent ce0f61b350
commit 6be612f64b

View file

@ -20,7 +20,11 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isLinux [ alsa-lib libpulseaudio ]
++ lib.optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreMIDI CoreServices ];
cmakeFlags = [ "-Denable-framework=off" ];
cmakeFlags = [
"-Denable-framework=off"
# set CMAKE_INSTALL_NAME_DIR to correct value on darwin
"-DCMAKE_INSTALL_LIBDIR=lib"
];
meta = with lib; {
description = "Real-time software synthesizer based on the SoundFont 2 specifications";