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>
This commit is contained in:
Sonic Zhang 2013-11-25 14:29:45 +08:00 committed by Peter Korsgaard
parent 46250ee126
commit efc35794c8

View file

@ -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) \