mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
util-linux: add optional dependency on readline
fdisk and sfdisk tools can be built with readline support. This patch adds optional dependency on readline if it is already selected. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
4f1a599240
commit
c8252fdebb
@@ -146,6 +146,13 @@ else
|
||||
UTIL_LINUX_CONF_OPTS += --without-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
UTIL_LINUX_CONF_OPTS += --with-readline
|
||||
UTIL_LINUX_DEPENDENCIES += readline
|
||||
else
|
||||
UTIL_LINUX_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
# Install PAM configuration files
|
||||
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),y)
|
||||
define UTIL_LINUX_INSTALL_PAMFILES
|
||||
|
||||
Reference in New Issue
Block a user