lkml.org 
[lkml]   [2015]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kconfig: add tinfo library if it exists to lxdialog linking flags
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

\
 
 \ /
  Last update: 2015-04-25 18:21    [W:0.576 / U:2.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site