diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-01-05 10:14:18 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-01-12 00:55:48 -0800 |
commit | cebc043e2eb5e380cd5704fc44bf7ea0936ae415 (patch) | |
tree | b6d079b37052660ed182e7caa290941abdb7a840 | |
parent | d52b9ff86dbdfce8d5dc3f2e4544b9f44bdeeea0 (diff) | |
download | poky-cebc043e2eb5e380cd5704fc44bf7ea0936ae415.tar.gz |
libxml-simple-perl: fix build failure with perl 5.12.2
for hostperl needing to load .so files (for module scalar::util) the host/native
perl library path is placed 1st in the @INC with the -I parameter to perl.
Otherwise hostperl gives error can not load module scalar::util.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-rw-r--r-- | meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb b/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb index 136e117c85..ca57776dac 100644 --- a/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb +++ b/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb | |||
@@ -2,7 +2,7 @@ SECTION = "libs" | |||
2 | LICENSE = "Artistic" | 2 | LICENSE = "Artistic" |
3 | LIC_FILES_CHKSUM = "file://README;beginline=70;md5=94aa5d46682b411a53a5494cfb22640e" | 3 | LIC_FILES_CHKSUM = "file://README;beginline=70;md5=94aa5d46682b411a53a5494cfb22640e" |
4 | DEPENDS += "libxml-parser-perl" | 4 | DEPENDS += "libxml-parser-perl" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz" | 7 | SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz" |
8 | 8 | ||
@@ -11,4 +11,6 @@ SRC_URI[sha256sum] = "a54967c188cda3e20f496c83be4de3f1740eeaa83c0380712ecd969ad8 | |||
11 | 11 | ||
12 | S = "${WORKDIR}/XML-Simple-${PV}" | 12 | S = "${WORKDIR}/XML-Simple-${PV}" |
13 | 13 | ||
14 | EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl/${@get_perl_version(d)}" | ||
15 | |||
14 | inherit cpan | 16 | inherit cpan |