summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-11-25 14:29:45 +0800
committerPeter Korsgaard <peter@korsgaard.com>2013-11-25 10:06:53 +0100
commitefc35794c8706e376c5dbf49e0a33217a2f515ff (patch)
tree95cec0291d739b534f6ac5b14201e4f345aeb52b /package
parent46250ee126476821ef934a737f487ee49b33fd5a (diff)
e2fsprogs: Disable elf shared library when BR2_PREFER_STATIC_LIB is selected.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/e2fsprogs/e2fsprogs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 0670c747c..cdca9062a 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -11,7 +11,7 @@ E2FSPROGS_LICENSE_FILES = COPYING lib/uuid/COPYING lib/ss/mit-sipb-copyright.h l
E2FSPROGS_CONF_OPT = \
--disable-tls \
- --enable-elf-shlibs \
+ $(if $(BR2_PREFER_STATIC_LIB),,--enable-elf-shlibs) \
$(if $(BR2_PACKAGE_E2FSPROGS_DEBUGFS),,--disable-debugfs) \
$(if $(BR2_PACKAGE_E2FSPROGS_E2IMAGE),,--disable-imager) \
$(if $(BR2_PACKAGE_E2FSPROGS_E4DEFRAG),,--disable-defrag) \