lvm2: disable static builds

When BR2_PREFER_STATIC_LIB is defined it still try to build the shared
executables and it fails.

Fixes:
http://autobuild.buildroot.net/results/b0b/b0b386969459dda9c294f1ccb4927ca225fa6bdd/

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabio Porcedda
2014-02-17 10:58:46 +01:00
committed by Peter Korsgaard
parent cc5b999cf6
commit 6eb425891e
4 changed files with 13 additions and 8 deletions

View File

@@ -2,6 +2,7 @@ config BR2_PACKAGE_DMRAID
bool "dmraid"
depends on BR2_LARGEFILE
depends on BR2_USE_MMU # lvm2
depends on !BR2_PREFER_STATIC_LIB # lvm2
# triggers gcc ice
depends on !BR2_arc
select BR2_PACKAGE_LVM2
@@ -12,7 +13,7 @@ config BR2_PACKAGE_DMRAID
dmraid uses the Linux device-mapper to create devices with
respective mappings for the ATARAID sets discovered.
comment "dmraid needs a toolchain w/ largefile"
comment "dmraid needs a toolchain w/ largefile, dynamic library"
depends on BR2_USE_MMU
depends on !BR2_LARGEFILE
depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB
depends on !BR2_arc