From ba7b0524cc72ef4eaef5ef2f337fff7fb6d55347 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 3 Oct 2017 11:43:03 +0200 Subject: Remove X11 dependency for gtk2 in qt5 --- wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 4545a3f..25303cf 100644 --- a/wscript +++ b/wscript @@ -105,8 +105,9 @@ def configure(conf): autowaf.define(conf, 'SUIL_GTK3_LIB_NAME', conf.options.gtk3_lib_name); if conf.env.HAVE_GTK2 and conf.env.HAVE_QT4: - autowaf.define(conf, 'SUIL_WITH_GTK2_IN_QT4', 1) autowaf.define(conf, 'SUIL_WITH_QT4_IN_GTK2', 1) + if conf.env.HAVE_GTK2_X11: + autowaf.define(conf, 'SUIL_WITH_GTK2_IN_QT4', 1) if conf.env.HAVE_GTK2 and conf.env.HAVE_QT5: autowaf.define(conf, 'SUIL_WITH_GTK2_IN_QT5', 1) -- cgit v1.2.1