mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-27 12:30:34 -09:00
package/sqlite: add optional support for libedit
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
6c49ae49d9
commit
007c2ce917
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user