Skip to contentSkip to conversation

nmon_13g: add -ltinfo linker flag

PATCH New Martin Jansa 1 participant 1 message Dec 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nmon_13g: add -ltinfo linker flag

From: Norman Schleicher <[email protected]>

* 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)

---
 meta-oe/recipes-support/nmon/nmon_13g.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-support/nmon/nmon_13g.bb +2 -2
index ffe5d06..bc82c0a 100644
@@ -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() {
Signature · 1 line
1.7.8.rc4