summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-11-25 06:29:45 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-25 09:06:53 (GMT)
commitefc35794c8706e376c5dbf49e0a33217a2f515ff (patch)
tree95cec0291d739b534f6ac5b14201e4f345aeb52b
parent46250ee126476821ef934a737f487ee49b33fd5a (diff)
downloadbuildroot-efc35794c8706e376c5dbf49e0a33217a2f515ff.tar.gz
buildroot-efc35794c8706e376c5dbf49e0a33217a2f515ff.tar.bz2
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>
-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 0670c74..cdca906 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) \