midori: enable optional gcr support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 6 Jan 2016 10:57:46 +0000 (07:57 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 15 Mar 2016 22:17:18 +0000 (23:17 +0100)
Only used/useful with the gtk3 backend though.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/midori/midori.mk

index 197f51ab66552c1e26236a92414f0f762f042d8f..7927400698212fcacb03045978da59300c0e4288 100644 (file)
@@ -40,6 +40,10 @@ endif
 ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y)
 MIDORI_CONF_OPTS += -DUSE_GTK3=ON -DHALF_BRO_INCOM_WEBKIT2=ON
 MIDORI_DEPENDENCIES += libgtk3
+# Only useful with gtk3
+ifeq ($(BR2_PACKAGE_GCR),y)
+MIDORI_DEPENDENCIES += gcr
+endif
 else
 MIDORI_CONF_OPTS += -DUSE_GTK3=OFF
 MIDORI_DEPENDENCIES += libgtk2