linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sylvain.bertrand@gmail.com
To: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags
Date: Sat, 25 Apr 2015 16:05:46 +0000	[thread overview]
Message-ID: <20150425160546.GA4002@freedom> (raw)

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

             reply	other threads:[~2015-04-25 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-25 16:05 sylvain.bertrand [this message]
2015-04-26 21:19 ` [PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags Paul Bolle
2015-04-27 12:00   ` sylvain.bertrand
2015-04-28  8:19     ` Paul Bolle
2015-04-29 15:20       ` sylvain.bertrand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150425160546.GA4002@freedom \
    --to=sylvain.bertrand@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).