diff --git a/package/pinentry/pinentry.mk b/package/pinentry/pinentry.mk index f34cc0e107..c4d83ee809 100644 --- a/package/pinentry/pinentry.mk +++ b/package/pinentry/pinentry.mk @@ -21,7 +21,7 @@ endif # pinentry-ncurses backend ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y) -PINENTRY_CONF_OPTS += --enable-ncurses +PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none PINENTRY_DEPENDENCIES += ncurses else PINENTRY_CONF_OPTS += --disable-ncurses