[PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags

From: sylvain . bertrand
Date: Sat Apr 25 2015 - 12:05:59 EST

HOSTLD scripts/kconfig/mconf
/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined reference to symbol 'acs_map'

Add tinfo library to lxdiablog linking flags, if it exists.

Signed-off-by: Sylvain BERTRAND <sylvain.bertrand@xxxxxxxxx>
--- a/scripts/kconfig/lxdialog/check-lxdialog.sh
+++ b/scripts/kconfig/lxdialog/check-lxdialog.sh
@@ -4,6 +4,9 @@
# What library to link
+ # Some ncurses symbols are in tinfo library, if it exists
+ pkg-config --libs tinfow 2>/dev/null
+ pkg-config --libs tinfo 2>/dev/null
pkg-config --libs ncursesw 2>/dev/null && exit
pkg-config --libs ncurses 2>/dev/null && exit
for ext in so a dll.a dylib ; do
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/