]> code.ossystems Code Review - openembedded-core.git/commitdiff
libffi: really populate -dev package
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 23 Sep 2011 19:46:41 +0000 (23:46 +0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Sep 2011 19:50:27 +0000 (20:50 +0100)
As per gcc PR 11147, libffi installs headers into a target dependent
place (/usr/lib/....). Include a rule to include those files into
libffi-dev package.

Reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11147

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/libffi/libffi_3.0.9.bb

index b6c7c13f326a5378157d1b25d80ad4097940051c..0ea2284160a51387838185764c05d7b3faa219a2 100644 (file)
@@ -7,10 +7,13 @@ library really only provides the lowest, machine dependent layer of a fully feat
 A layer must exist above `libffi' that handles type conversions for values passed between the two languages."
 SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz"
 
+PR = "r1"
+
 SRC_URI[md5sum] = "1f300a7a7f975d4046f51c3022fa5ff1"
 SRC_URI[sha256sum] = "589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fa09cb778aaba64dc9eac37ab7e4e5d8"
 inherit autotools
 
+FILES_${PN}-dev += "${libdir}/libffi-${PV}"
 BBCLASSEXTEND = "native"