[Spice-devel] [PATCH spice-gtk 12/34] meson: fix mingw build

Christophe Fergeau cfergeau at redhat.com
Mon Jan 7 13:41:47 UTC 2019


On Mon, Jan 07, 2019 at 12:00:41PM +0400, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> Remove rt/x11/m dependencies from Windows build.

librt/libm dependencies are even removed from all builds as far as I can
tell? This does not seem to make a difference on the build though.

Reviewed-by: Christophe Fergeau <cfergeau at redhat.com>

Christophe

> 
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190107/4743841a/attachment.sig>


More information about the Spice-devel mailing list