Merge pull request #132271 from angustrau/pulseaudio-aarch64-darwin

pulseaudio: fix build on aarch64-darwin
This commit is contained in:
Jörg Thalheim 2021-08-01 12:35:16 +01:00 committed by GitHub
commit cc2c11d543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,10 @@ stdenv.mkDerivation rec {
"--with-bash-completion-dir=${placeholder "out"}/share/bash-completions/completions"
]
++ lib.optional (jackaudioSupport && !libOnly) "--enable-jack"
++ lib.optional stdenv.isDarwin "--with-mac-sysroot=/"
++ lib.optionals stdenv.isDarwin [
"--with-mac-sysroot=/"
"--disable-neon-opt"
]
++ lib.optional (stdenv.isLinux && useSystemd) "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--disable-gsettings";