From: Adam Duskett Date: Wed, 1 Apr 2020 00:21:29 +0000 (-0700) Subject: package/gconf: enable gobject-introspection support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0609aeed7c249f75f9446d57c644f1cba93dd615;p=buildroot.git package/gconf: enable gobject-introspection support If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- diff --git a/package/gconf/gconf.mk b/package/gconf/gconf.mk index 60ced95e18..c468d1433c 100644 --- a/package/gconf/gconf.mk +++ b/package/gconf/gconf.mk @@ -13,4 +13,11 @@ GCONF_DEPENDENCIES = dbus dbus-glib libglib2 libxml2 \ GCONF_LICENSE = LGPL-2.0+ GCONF_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GCONF_CONF_OPTS += --enable-introspection +GCONF_DEPENDENCIES += gobject-introspection +else +GCONF_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))