package/libgudev: add gobject-introspection optional dependency
gobject-introspection is an optional dependency (which is enabled by
default) since at least version 219 and
43a593b5b4
Fixes:
- http://autobuild.buildroot.org/results/3bedc9fa3b14939825fb9cdebc6977057c3f6118
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 99278e520826002dfdae61ec2d649846f43a9f36)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b1d4fe8795
commit
d924dbcf03
@@ -13,4 +13,11 @@ LIBGUDEV_LICENSE = LGPL-2.1+
|
|||||||
LIBGUDEV_LICENSE_FILES = COPYING
|
LIBGUDEV_LICENSE_FILES = COPYING
|
||||||
LIBGUDEV_CONF_OPTS = --disable-umockdev
|
LIBGUDEV_CONF_OPTS = --disable-umockdev
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||||
|
LIBGUDEV_CONF_OPTS += --enable-introspection
|
||||||
|
LIBGUDEV_DEPENDENCIES += gobject-introspection
|
||||||
|
else
|
||||||
|
LIBGUDEV_CONF_OPTS += --disable-introspection
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user