Files
openwrt-packages/libs/sqlite3/Config-cli.in
Maxim Storchak 9ba287e7fd sqlite3: fix line editing in sqlite3-cli
- fix building sqlite3-cli with readline and libedit
- add linenoise line editing option. This adds 12k to the size of the
  bare sqlite3-cli, but doesn't add any extra dependencies
- make linenoise the default choice as the most space conserving but
  still convenient variant
- bump PKG_RELEASE

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2025-10-07 14:22:02 +03:00

30 lines
630 B
Plaintext

menu "Configuration"
depends on PACKAGE_sqlite3-cli
choice
prompt "Select command-line editing support"
default SQLITE3_LINENOISE
config SQLITE3_LINENOISE
bool "linenoise"
help
Build with linenoise. This is the default. Adds ~12k compared to the "none" variant
config SQLITE3_LIBEDIT
bool "libedit"
help
Link against libedit. Adds 4k + ~192k for libedit + ~341k for ncurses
config SQLITE3_READLINE
bool "readline"
help
Link against GNU readline. Adds 4k + ~333k for readline + ~341k for ncurses
config SQLITE3_READLINE_NONE
bool "none"
help
Disable command-line editing support.
endchoice
endmenu