From: Adam Duskett Date: Sun, 15 Mar 2020 17:24:54 +0000 (-0700) Subject: package/libsoup: add optional dependency for gobject-introspection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22baac54ef5ffaf17f563c86f85bbf031a3a643a;p=buildroot.git 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 --- 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