summaryrefslogtreecommitdiffstats
path: root/package/lvm2
diff options
context:
space:
mode:
authorFabio Porcedda <fabio.porcedda@gmail.com>2014-02-17 10:58:46 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-19 23:07:06 +0100
commit6eb425891e18a489f115bb2cfdbb3f618bede29e (patch)
tree84b1b180206888802e88bc48982df4e953b192e7 /package/lvm2
parentcc5b999cf69da758e5fbbc380ffbba8545c4319e (diff)
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>
Diffstat (limited to 'package/lvm2')
-rw-r--r--package/lvm2/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index 5d6209fc1..3f8a52d47 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LVM2
bool "lvm2 & device mapper"
depends on BR2_LARGEFILE
depends on BR2_USE_MMU # needs fork()
+ depends on !BR2_PREFER_STATIC_LIB # It fails to build statically
help
This is LVM2, the rewrite of The Linux Logical Volume Manager.
LVM supports enterprise level volume management of disk and disk
@@ -33,6 +34,6 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
endif
-comment "lvm2 needs a toolchain w/ largefile"
+comment "lvm2 needs a toolchain w/ largefile, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_LARGEFILE
+ depends on !BR2_LARGEFILE || BR2_PREFER_STATIC_LIB