[oe] [PATCH][meta-oe] nmon_13g: add -ltinfo linker flag
Martin Jansa
martin.jansa at gmail.com
Thu Dec 1 23:51:50 UTC 2011
From: Norman Schleicher <NormanSchleicher at 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 at gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
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() {
--
1.7.8.rc4
More information about the Openembedded-devel
mailing list