package/upower: add gobject-introspection optional dependency
gobject-introspection is an optional dependency which is enabled by default since0d7bf34ed6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit8bcae68f37
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
99d31b4da1
commit
2dc7323ad0
@ -22,4 +22,11 @@ UPOWER_DEPENDENCIES = \
|
||||
|
||||
UPOWER_CONF_OPTS = --disable-man-pages --disable-tests
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
UPOWER_CONF_OPTS += --enable-introspection
|
||||
UPOWER_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
UPOWER_CONF_OPTS += --disable-introspection
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user