From 4eff6c57c12554e508781726217fb3dbed4e8279 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 1155d7365..c9be1c5f6 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) \