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
ea64e05a1b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit cb340dfbdc771d71a3fbe89492ea229459d55681)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
5b4698a094
commit
4b7cc55889
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user