From d454e151c3c85edf8a4cc1e9d247ac1bd497db80 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 21 May 2015 19:10:09 +0800 Subject: [PATCH] libjson: Make the pure-perl version work Depend on two more modules to have the following code emit something: #use JSON::XS; use JSON; my %rec_hash = ('a' => 1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5); my $json = encode_json \%rec_hash; print "$json\n"; --- recipes-extra/perl-json/libjson-perl_2.90.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-extra/perl-json/libjson-perl_2.90.bb b/recipes-extra/perl-json/libjson-perl_2.90.bb index a3f59ee..3c90261 100644 --- a/recipes-extra/perl-json/libjson-perl_2.90.bb +++ b/recipes-extra/perl-json/libjson-perl_2.90.bb @@ -4,6 +4,8 @@ HOMEPAGE = "http://search.cpan.org/~makamaka/JSON-2.90/lib/JSON.pm" SECTION = "libs" LICENSE = "Artistic-1.0 | GPL-1.0+" RDEPENDS_${PN} = " perl-module-carp \ + perl-module-overload \ + perl-module-constant \ libjson-xs-perl \ "