]> code.ossystems Code Review - openembedded-core.git/commitdiff
guile: added runtime dependency on glibc-gconv-iso8859-1
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>
Wed, 29 May 2013 13:40:10 +0000 (13:40 +0000)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 31 May 2013 15:03:37 +0000 (16:03 +0100)
guile needs to be able to convert strings from ISO-8859-1 in order
to work properly. This patch adds a runtime dependency to the required
convert package, but only when glibc is used. The fix for uClibc depends
on another bug (#4530).

[YOCTO #4019]

(From OE-Core master rev: 0e519c99bafd49ecac97b1fb9185a4d02fb44d75)

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/guile/guile_2.0.7.bb

index 4e400bf10d58456812e5d51ba46c2de3049ab948..5863014fe56a25241caa41855d2e8ec786ad9fcf 100644 (file)
@@ -37,6 +37,8 @@ DEPENDS = "libunistring bdwgc gmp libtool libffi"
 # add guile-native only to the target recipe's DEPENDS
 DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) != 'guile']}"
 
+RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"
+
 EXTRA_OECONF += "${@['--without-libltdl-prefix --without-libgmp-prefix --without-libreadline-prefix', ''][bb.data.inherits_class('native',d)]}"
 
 do_configure_prepend() {