mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
package/libblockdev: fix build failure due to missing dependency json-glib
When BR2_PACKAGE_LIBBLOCKDEV_LVM2 is enabled it requires package
json-glib to be enabled starting from libblockdev version 3.5.0
so let's enable it accordingly.
Fixes:
https://autobuild.buildroot.org/results/fceb64bb7fcfced61ef900b580b458135baa3713/
Fixes: c03745d7de
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[Romain: add the commit hash introducing the build issue]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
committed by
Romain Naour
parent
0a9836fcbe
commit
89609ad586
@@ -47,6 +47,7 @@ config BR2_PACKAGE_LIBBLOCKDEV_LVM2
|
||||
bool "lvm2"
|
||||
depends on BR2_ENABLE_LOCALE # parted
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # parted
|
||||
select BR2_PACKAGE_JSON_GLIB
|
||||
select BR2_PACKAGE_PARTED
|
||||
select BR2_PACKAGE_LIBYAML
|
||||
select BR2_PACKAGE_LVM2
|
||||
|
||||
@@ -47,7 +47,7 @@ LIBBLOCKDEV_CONF_OPTS += --without-loop
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LVM2),y)
|
||||
LIBBLOCKDEV_DEPENDENCIES += libyaml lvm2 parted
|
||||
LIBBLOCKDEV_DEPENDENCIES += json-glib libyaml lvm2 parted
|
||||
LIBBLOCKDEV_CONF_OPTS += --with-lvm
|
||||
else
|
||||
LIBBLOCKDEV_CONF_OPTS += --without-lvm
|
||||
|
||||
Reference in New Issue
Block a user