From: Fabrice Fontaine Date: Wed, 4 Aug 2021 20:44:42 +0000 (+0200) Subject: package/libqrtr-glib: add gobject-introspection optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb340dfbdc771d71a3fbe89492ea229459d55681;p=buildroot.git package/libqrtr-glib: add gobject-introspection optional dependency gobject-introspection is an optional dependency (enabled by default) since the addition of the package in commit ea64e05a1bfbe3b258a69013462f94d7db7a9c0b Signed-off-by: Fabrice Fontaine Reviewed-by: Petr Vorel Signed-off-by: Thomas Petazzoni --- diff --git a/package/libqrtr-glib/libqrtr-glib.mk b/package/libqrtr-glib/libqrtr-glib.mk index b9fc5cf3ba..6ab8335417 100644 --- a/package/libqrtr-glib/libqrtr-glib.mk +++ b/package/libqrtr-glib/libqrtr-glib.mk @@ -12,4 +12,11 @@ LIBQRTR_GLIB_LICENSE_FILES = COPYING.LIB LIBQRTR_GLIB_INSTALL_STAGING = YES LIBQRTR_GLIB_DEPENDENCIES = libglib2 +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBQRTR_GLIB_CONF_OPTS += --enable-introspection +LIBQRTR_GLIB_DEPENDENCIES += gobject-introspection +else +LIBQRTR_GLIB_CONF_OPTS += --disable-introspection +endif + $(eval $(autotools-package))