Patchwork [meta-oe] nmon_13g: add -ltinfo linker flag

login
register
mail settings
Submitter Martin Jansa
Date Dec. 1, 2011, 11:51 p.m.
Message ID <1322783510-11021-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/16013/
State Accepted
Commit a2fbb83f951a522f3a1eb2b627847f549a0c245a
Headers show

Comments

Martin Jansa - Dec. 1, 2011, 11:51 p.m.
From: Norman Schleicher <NormanSchleicher@gmx.de>

* ld in latest binutils-2.22 from oe-core doesn't have
  --copy-dt-needed-entries enabled by default anymore see:
  http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/ld/NEWS?rev=1.121&content-type=text/plain&cvsroot=src&only_with_tag=binutils-binutils-2_22
  so we have to be more carefull which libs are specified on linker
  command line, similar issue is in mplayer2 and aurora-daemon (qt4)

Signed-off-by: Norman Schleicher <NormanSchleicher@gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/nmon/nmon_13g.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-oe/recipes-support/nmon/nmon_13g.bb b/meta-oe/recipes-support/nmon/nmon_13g.bb
index ffe5d06..bc82c0a 100644
--- a/meta-oe/recipes-support/nmon/nmon_13g.bb
+++ b/meta-oe/recipes-support/nmon/nmon_13g.bb
@@ -4,7 +4,7 @@  SECTION = "console/utils"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/Documentation.txt;md5=dbb13658cf55d687c4f2ff771a696d4a"
 DEPENDS = "ncurses"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon13g.c;name=lmon \
            ${SOURCEFORGE_MIRROR}/nmon/Documentation.txt;name=doc \
@@ -16,7 +16,7 @@  SRC_URI[doc.md5sum] = "dbb13658cf55d687c4f2ff771a696d4a"
 SRC_URI[doc.sha256sum] = "1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278"
 
 CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
-LDFLAGS += "-lncursesw"
+LDFLAGS += "-ltinfo -lncursesw"
 ASNEEDED_pn-nmon = ""
 
 do_compile() {