linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags
@ 2015-04-25 16:05 sylvain.bertrand
  2015-04-26 21:19 ` Paul Bolle
  0 siblings, 1 reply; 5+ messages in thread
From: sylvain.bertrand @ 2015-04-25 16:05 UTC (permalink / raw)
  To: linux-kbuild, linux-kernel

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@gmail.com>
---
--- a/scripts/kconfig/lxdialog/check-lxdialog.sh
+++ b/scripts/kconfig/lxdialog/check-lxdialog.sh
@@ -4,6 +4,9 @@
 # What library to link
 ldflags()
 {
+	# 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-29 15:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-25 16:05 [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags sylvain.bertrand
2015-04-26 21:19 ` Paul Bolle
2015-04-27 12:00   ` sylvain.bertrand
2015-04-28  8:19     ` Paul Bolle
2015-04-29 15:20       ` sylvain.bertrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).