From: Khem Raj Date: Thu, 8 Jul 2010 20:21:13 +0000 (-0700) Subject: libxml-parser-perl_2.36.bb: Override do_compile for native build. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30223cff6e5cf7365da2c4430773310c0fe6bc26;p=openembedded.git libxml-parser-perl_2.36.bb: Override do_compile for native build. Signed-off-by: Khem Raj --- 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"