From adda53bcb13d2526ee28c26c405ded8a3856a128 Mon Sep 17 00:00:00 2001 From: Alois Klink Date: Wed, 26 Oct 2022 12:59:07 +0100 Subject: [PATCH] gdbm: configure with `--without-readline` By default, gdbm configures/builds with readline and curses support if they exist. This can cause race conditions when compiling gdbm and ncurses in parallel, as gdbm may try to link to ncurses when it doesn't exist. This commit forces gdbm to skip using readline/ncurses, since it's unlikely that anybody is using the line-editing feature of gdbm. See [gdbm's README][1] for more info. [1]: https://git.gnu.org.ua/gdbm.git/tree/README?h=v1.21#n50 Signed-off-by: Alois Klink --- libs/gdbm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/gdbm/Makefile b/libs/gdbm/Makefile index 1155d736..c9be1c5f 100644 --- a/libs/gdbm/Makefile +++ b/libs/gdbm/Makefile @@ -39,7 +39,8 @@ endef CONFIGURE_ARGS += \ --enable-libgdbm-compat \ - --enable-shared + --enable-shared \ + --without-readline define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \