From 13eec9c0e2372e4e01b636e9a3d557da927552f6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 May 2022 10:02:39 -0400 Subject: Only build Qt5 in Gtk3 wrapper if Gtk3 X11 support is available GtkSocket depends on X11. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index e95b2dc..10188de 100644 --- a/wscript +++ b/wscript @@ -177,7 +177,7 @@ def configure(conf): if conf.env.HAVE_GTK3 and conf.env.HAVE_GTK3_X11: enable_module('SUIL_WITH_X11_IN_GTK3') - if conf.env.HAVE_GTK3 and conf.env.HAVE_QT5: + if conf.env.HAVE_GTK3 and conf.env.HAVE_GTK3_X11 and conf.env.HAVE_QT5: enable_module('SUIL_WITH_QT5_IN_GTK3') if conf.env.HAVE_GTK2 and conf.env.HAVE_GTK2_QUARTZ: -- cgit v1.2.1