summaryrefslogtreecommitdiff
path: root/recipes/perl/libxml-parser-perl_2.36.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-08 13:21:13 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-08 17:23:57 -0700
commit30223cff6e5cf7365da2c4430773310c0fe6bc26 (patch)
tree2406f085f550fb4a55601a3b4fe5945808b3765a /recipes/perl/libxml-parser-perl_2.36.bb
parentf00b1bec3efb8490b3343c368d36788e290e6fc7 (diff)
libxml-parser-perl_2.36.bb: Override do_compile for native build.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/perl/libxml-parser-perl_2.36.bb')
-rw-r--r--recipes/perl/libxml-parser-perl_2.36.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/perl/libxml-parser-perl_2.36.bb b/recipes/perl/libxml-parser-perl_2.36.bb
index 02c7153c76..1eaa230f98 100644
--- a/recipes/perl/libxml-parser-perl_2.36.bb
+++ b/recipes/perl/libxml-parser-perl_2.36.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "XML::Parser - A perl module for parsing XML documents"
SECTION = "libs"
LICENSE = "Artistic"
DEPENDS += "expat expat-native"
-PR= "r2"
+PR= "r3"
SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Parser-${PV}.tar.gz"
@@ -16,6 +16,9 @@ do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/lib -name 'libc-*.so')"
cpan_do_compile
}
+do_compile_virtclass-native (){
+ cpan_do_compile
+}
FILES_${PN} = "${PERLLIBDIRS}/auto/XML/Parser/Expat/* \
${PERLLIBDIRS}/XML"