summaryrefslogtreecommitdiffstats
path: root/package/sqlite/sqlite.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sqlite/sqlite.mk')
-rw-r--r--package/sqlite/sqlite.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk
index 0a119cc30e..870b891c4f 100644
--- a/package/sqlite/sqlite.mk
+++ b/package/sqlite/sqlite.mk
@@ -45,11 +45,14 @@ else
SQLITE_CONF_OPTS += --disable-threadsafe
endif
-ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y)
+ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy)
SQLITE_DEPENDENCIES += ncurses readline
-SQLITE_CONF_OPTS += --enable-readline
+SQLITE_CONF_OPTS += --disable-editline --enable-readline
+else ifeq ($(BR2_PACKAGE_LIBEDIT),y)
+SQLITE_DEPENDENCIES += libedit
+SQLITE_CONF_OPTS += --enable-editline --disable-readline
else
-SQLITE_CONF_OPTS += --disable-readline
+SQLITE_CONF_OPTS += --disable-editline --disable-readline
endif
$(eval $(autotools-package))
OpenPOWER on IntegriCloud