[Spice-commits] meson.build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Mar 17 09:39:13 UTC 2020
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6ee5f5d8b18d44152f742c68a3fe8a2dce1b4c41
Author: James Le Cuirot <chewi at gentoo.org>
Date: Mon Mar 16 23:10:15 2020 +0000
build: Add missing dependency on pthreads under Meson
This fixes building against MinGW.
There is some discussion around how Meson might handle other threading
APIs but at least for now, dependency('threads') is for pthreads.
Signed-off-by: James Le Cuirot <chewi at gentoo.org>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
diff --git a/meson.build b/meson.build
index b16e845a..293ee12e 100644
--- a/meson.build
+++ b/meson.build
@@ -46,7 +46,7 @@ spice_server_global_cflags = ['-DSPICE_SERVER_INTERNAL',
compiler = meson.get_compiler('c')
spice_server_config_data = configuration_data()
spice_server_include = [include_directories('.')]
-spice_server_deps = []
+spice_server_deps = [dependency('threads')]
spice_server_link_args = []
spice_server_requires = ''
More information about the Spice-commits
mailing list