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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 07, 2019 at 12:00:41PM +0400, marcandre.lureau@xxxxxxxxxx wrote:
> From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>

Christophe

> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]