From: Romain Naour Date: Tue, 23 Sep 2014 21:57:37 +0000 (+0200) Subject: package/gnupg2: add readline optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f9d235e667b5ae61e90b1c03efdf2055e62c262;p=buildroot.git 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: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index b0e72976bb..4b0a26e254 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -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))