Skip to content

Commit 12b936b

Browse files
committed
Adjusted the linker flags for kconfig mconf (menuconfig)
For some reason, this breaks on my Gentoo systems. There, libcurses does not contain nodelay, so the linking fails with symbol resolution errors regarding the nodelay symbol. I have added -ltinfo to fix this issue. Signed-off-by: Michael T. Kloos <michael@michaelkloos.com>
1 parent 6018289 commit 12b936b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kconfig/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ gen_config.h: .config
6767

6868
kconfig/mconf: $(SHIPPED)
6969
$(HOSTCC) -o $@ kconfig/mconf.c kconfig/zconf.tab.c \
70-
kconfig/lxdialog/*.c -lcurses -DCURSES_LOC="<ncurses.h>" \
70+
kconfig/lxdialog/*.c -lcurses -ltinfo -DCURSES_LOC="<ncurses.h>" \
7171
-DKBUILD_NO_NLS=1 -DPROJECT_NAME=\"$(KCONFIG_PROJECT)\"
7272

7373
kconfig/conf: $(SHIPPED)

0 commit comments

Comments
 (0)