[totem/wip/hadess/libx11-threads: 2/4] build: Require libx11 1.8




commit 688a3d0f4277874e24a49c9e5cad3503cb14c09f
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 4 11:36:09 2022 +0200

    build: Require libx11 1.8
    
    Require a version of libX11 new enough that it will initialise threads
    support itself.
    
    See https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 5d9e7e4bc..c77dc828b 100644
--- a/meson.build
+++ b/meson.build
@@ -138,7 +138,7 @@ gio_dep = dependency('gio-2.0', version: '>= 2.43.4')
 gtk_dep = dependency('gtk+-3.0', version: gtk_req_version)
 targets = gtk_dep.get_pkgconfig_variable('targets')
 if targets.split(' ').contains('x11')
-  x11_dep = dependency('x11')
+  x11_dep = dependency('x11', version: '>= 1.8')
 else
   x11_dep = dependency('', required : false)
 endif


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