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 <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Adam Duskett 2020-03-31 17:21:29 -07:00 committed by Yann E. MORIN
parent d4e7c720aa
commit 0609aeed7c

View File

@ -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))