Commit 5f9d235e authored by Romain Naour's avatar Romain Naour Committed by Thomas Petazzoni
Browse files

package/gnupg2: add readline optional dependency



This is to improve build reproducibility.

[Thomas: add --with-readline and --without-readline options to
explicitly enable/disable readline usage.]

Signed-off-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent b39e3e39
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -33,4 +33,11 @@ else
GNUPG2_CONF_OPT += --disable-bzip2
endif

ifeq ($(BR2_PACKAGE_READLINE),y)
GNUPG2_CONF_OPT += --with-readline=$(STAGING_DIR)
GNUPG2_DEPENDENCIES += readline
else
GNUPG2_CONF_OPT += --without-readline
endif

$(eval $(autotools-package))