Merge pull request #227018 from wegank/spice-gtk-darwin

spice-gtk: fix build on darwin
This commit is contained in:
Weijia Wang 2023-04-19 11:31:45 +03:00 committed by GitHub
commit 1df0efdeda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,6 +135,7 @@ stdenv.mkDerivation rec {
"-Dpolkit=disabled"
] ++ lib.optionals (!stdenv.isLinux) [
"-Dlibcap-ng=disabled"
"-Degl=disabled"
] ++ lib.optionals stdenv.hostPlatform.isMusl [
"-Dcoroutine=gthread" # Fixes "Function missing:makecontext"
];