--- /dev/null
+fake check_lib for cross-compilation
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/Makefile.PL
+===================================================================
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -84,8 +84,7 @@
+ # -------------------------------------------------------------------------- #
+ # -------------------------------------------------------------------------- #
+
+-use lib qw(inc);
+-use Devel::CheckLib;
++sub check_lib { return 1; }
+
+ # Prompt the user here for any paths and other configuration
+
PERL_XML_LIBXML_LICENSE = Artistic or GPLv1+
PERL_XML_LIBXML_LICENSE_FILES = LICENSE
+PERL_XML_LIBXML_CONF_OPT = \
+ LIBS="-L $(STAGING_DIR)/usr/lib" \
+ INC="-I $(STAGING_DIR)/usr/include/libxml2" \
+ NO_THREADS
+
$(eval $(perl-package))