From 30223cff6e5cf7365da2c4430773310c0fe6bc26 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 8 Jul 2010 13:21:13 -0700 Subject: libxml-parser-perl_2.36.bb: Override do_compile for native build. Signed-off-by: Khem Raj --- recipes/perl/libxml-parser-perl_2.36.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes/perl/libxml-parser-perl_2.36.bb') 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" -- cgit v1.2.3