From: Adam Duskett Date: Wed, 1 Apr 2020 00:21:31 +0000 (-0700) Subject: package/libgee: enable gobject-introspection support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3915e17e7734ee3abe088d4ce1893eecd7cc4663;p=buildroot.git package/libgee: 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/libgee/libgee.mk b/package/libgee/libgee.mk index 81fd354fe8..4b2581e171 100644 --- a/package/libgee/libgee.mk +++ b/package/libgee/libgee.mk @@ -13,4 +13,11 @@ LIBGEE_INSTALL_STAGING = YES LIBGEE_LICENSE = LGPL-2.1+ LIBGEE_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGEE_CONF_OPTS += --enable-introspection +LIBGEE_DEPENDENCIES += gobject-introspection +else +LIBGEE_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))