From: Thomas Petazzoni Date: Mon, 28 Dec 2015 11:28:35 +0000 (+0100) Subject: pinentry: optionally depend on libsecret X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3a2ed15eac8e9a03983c90f7f91b69a50650566;p=buildroot.git pinentry: optionally depend on libsecret pinentry can use libsecret when available, so we should handle this optional dependencies properly. Signed-off-by: Thomas Petazzoni --- diff --git a/package/pinentry/pinentry.mk b/package/pinentry/pinentry.mk index ab7be54d88..09a7705c27 100644 --- a/package/pinentry/pinentry.mk +++ b/package/pinentry/pinentry.mk @@ -21,6 +21,13 @@ else PINENTRY_CONF_OPTS += --without-x endif +ifeq ($(BR2_PACKAGE_LIBSECRET),y) +PINENTRY_CONF_OPTS += --enable-libsecret +PINENTRY_DEPENDENCIES += libsecret +else +PINENTRY_CONF_OPTS += --disable-libsecret +endif + # pinentry-ncurses backend ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y) PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none