From 22baac54ef5ffaf17f563c86f85bbf031a3a643a Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Sun, 15 Mar 2020 10:24:54 -0700 Subject: [PATCH] package/libsoup: add optional dependency for gobject-introspection If gobject-introspection is selected, explicitly set --with-introspection in the configure options and add a dependency for gobject-introspection. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/libsoup/libsoup.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk index 95bd682010..07c9d787bd 100644 --- a/package/libsoup/libsoup.mk +++ b/package/libsoup/libsoup.mk @@ -16,6 +16,13 @@ LIBSOUP_CONF_OPTS = --disable-glibtest --enable-vala=no --with-gssapi=no LIBSOUP_DEPENDENCIES = host-pkgconf host-libglib2 \ libglib2 libxml2 sqlite host-intltool +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBSOUP_CONF_OPTS += --with-introspection +LIBSOUP_DEPENDENCIES += gobject-introspection +else +LIBSOUP_CONF_OPTS += --without-introspection +endif + ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y) LIBSOUP_CONF_OPTS += --with-gnome else -- 2.30.2