[Spice-devel] [PATCH spice-gtk 12/34] meson: fix mingw build
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Mon Jan 7 08:00:41 UTC 2019
From: Marc-André Lureau <marcandre.lureau at redhat.com>
Remove rt/x11/m dependencies from Windows build.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson.build b/meson.build
index 42c18f0..91d0742 100644
--- a/meson.build
+++ b/meson.build
@@ -103,7 +103,7 @@ foreach dep : deps
spice_glib_deps += dependency(dep)
endforeach
-deps = ['librt', 'libm']
+deps = []
if spice_gtk_host_system == 'windows'
deps += ['libws2_32', 'libgdi32']
endif
@@ -130,9 +130,9 @@ spice_gtk_has_gtk = false
gtk_version_required = '3.22'
if get_option('gtk')
spice_gtk_deps += dependency('gtk+-3.0', version : '>= @0@'.format(gtk_version_required))
- spice_gtk_deps += dependency('x11')
if spice_gtk_host_system != 'windows'
spice_gtk_deps += dependency('epoxy')
+ spice_gtk_deps += dependency('x11')
endif
spice_gtk_has_gtk = true
endif
--
2.20.1.2.gb21ebb671b
More information about the Spice-devel
mailing list