[092/131] gmp: Fix DEPENDS/RDEPENDS and use the library class

Submitted by christian.braunersorensen@prevas.dk on Jan. 14, 2014, 12:34 p.m.

Details

Message ID de9020dd1a1ad915e416f3e630b4ccc65e40d9d7.1389702652.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk Jan. 14, 2014, 12:34 p.m.
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/gmp/gmp.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/recipes/gmp/gmp.inc b/recipes/gmp/gmp.inc
index 4e76d3f..48f628b 100644
--- a/recipes/gmp/gmp.inc
+++ b/recipes/gmp/gmp.inc
@@ -2,7 +2,7 @@  DESCRIPTION = "GNU multiprecision arithmetic library"
 HOMEPAGE = "http://www.swox.com/gmp/"
 
 RECIPE_TYPES = "machine native sdk"
-inherit autotools 
+inherit autotools library
 
 require conf/fetch/gnu.conf
 SRC_URI = "${GNU_MIRROR}/gmp/gmp-${PV}.tar.gz;name=gmp"
@@ -14,3 +14,5 @@  ARM_INSTRUCTION_SET = "arm"
 EXTRA_OECONF:>native = " --enable-static"
 
 acpaths = ""
+DEPENDS_${PN} += "libc"
+RDEPENDS_${PN} += "libc"