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:
parent
116b9b4adf
commit
f3a2ed15ea
@ -21,6 +21,13 @@ else
|
|||||||
PINENTRY_CONF_OPTS += --without-x
|
PINENTRY_CONF_OPTS += --without-x
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
||||||
|
PINENTRY_CONF_OPTS += --enable-libsecret
|
||||||
|
PINENTRY_DEPENDENCIES += libsecret
|
||||||
|
else
|
||||||
|
PINENTRY_CONF_OPTS += --disable-libsecret
|
||||||
|
endif
|
||||||
|
|
||||||
# pinentry-ncurses backend
|
# pinentry-ncurses backend
|
||||||
ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y)
|
ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y)
|
||||||
PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none
|
PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none
|
||||||
|
Loading…
Reference in New Issue
Block a user