From efc35794c8706e376c5dbf49e0a33217a2f515ff Mon Sep 17 00:00:00 2001 From: Sonic Zhang Date: Mon, 25 Nov 2013 14:29:45 +0800 Subject: [PATCH] e2fsprogs: Disable elf shared library when BR2_PREFER_STATIC_LIB is selected. Signed-off-by: Sonic Zhang Signed-off-by: Peter Korsgaard --- package/e2fsprogs/e2fsprogs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index 0670c747cd..cdca9062ab 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) \ -- 2.30.2