mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
pinentry: optionally depend on libsecret
pinentry can use libsecret when available, so we should handle this optional dependencies properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user