summaryrefslogtreecommitdiffstats
path: root/package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch')
-rw-r--r--package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch b/package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch
new file mode 100644
index 0000000000..ce2724c891
--- /dev/null
+++ b/package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch
@@ -0,0 +1,18 @@
+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
+
OpenPOWER on IntegriCloud