From: Alois Klink Date: Wed, 26 Oct 2022 11:59:07 +0000 (+0100) Subject: gdbm: configure with `--without-readline` X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4eff6c57c12554e508781726217fb3dbed4e8279;p=openwrt-packages.git 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 --- 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) \