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";
This commit is contained in:
Holger Hans Peter Freyther 2015-05-21 19:10:09 +08:00
parent 7f9ef4ddb9
commit d454e151c3
1 changed files with 2 additions and 0 deletions

View File

@ -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 \
"