[oe-commits] Norman Schleicher : nmon_13g: add -ltinfo linker flag

git at git.openembedded.org git at git.openembedded.org
Fri Dec 2 09:15:10 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: a2fbb83f951a522f3a1eb2b627847f549a0c245a
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a2fbb83f951a522f3a1eb2b627847f549a0c245a

Author: Norman Schleicher <NormanSchleicher at gmx.de>
Date:   Thu Dec  1 23:51:50 2011 +0000

nmon_13g: add -ltinfo linker flag

* 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 at gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-support/nmon/nmon_13g.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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() {





More information about the Openembedded-commits mailing list