python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / spice / remove-rt-on-darwin.patch
blobb3696d736af7930e8f1fa9a71de35475d2cb171f
1 --- a/meson.build
2 +++ b/meson.build
3 @@ -103,11 +103,11 @@
4 spice_server_deps += dependency(dep)
5 endforeach
7 -if host_machine.system() != 'windows'
8 +if (host_machine.system() != 'windows' and host_machine.system() != 'darwin')
9 foreach dep : ['rt', 'm']
10 spice_server_deps += compiler.find_library(dep)
11 endforeach
12 -else
13 +elif host_machine.system() == 'windows'
14 foreach dep : ['ws2_32', 'shlwapi']
15 spice_server_deps += compiler.find_library(dep)
16 endforeach
18 Diff finished. Sun Oct 16 06:09:35 2022