Patchwork [1/2] htop: Link with libubacktrace when compiling for uclibc

login
register
mail settings
Submitter Khem Raj
Date July 1, 2011, 4:36 p.m.
Message ID <1309538171-28964-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/6861/
State New, archived
Headers show

Comments

Khem Raj - July 1, 2011, 4:36 p.m.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-support/htop/htop_0.9.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta-oe/recipes-support/htop/htop_0.9.bb b/meta-oe/recipes-support/htop/htop_0.9.bb
index eb207aa..25dac4c 100644
--- a/meta-oe/recipes-support/htop/htop_0.9.bb
+++ b/meta-oe/recipes-support/htop/htop_0.9.bb
@@ -9,9 +9,13 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3"
 DEPENDS = "ncurses"
 RDEPENDS_${PN} = "ncurses-terminfo"
 
+PR = "r1"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/htop/htop-${PV}.tar.gz \
            file://remove-proc-test.patch"
 
+LDFLAGS_append_libc-uclibc = " -lubacktrace"
+
 inherit autotools
 
 SRC_URI[md5sum] = "7c5507f35f363f3f40183a2ba3c561f8"