mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
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 <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b39e3e39eb
commit
5f9d235e66
@@ -33,4 +33,11 @@ else
|
|||||||
GNUPG2_CONF_OPT += --disable-bzip2
|
GNUPG2_CONF_OPT += --disable-bzip2
|
||||||
endif
|
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))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user