diff --git a/srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch b/srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch new file mode 100644 index 00000000000..81fe75f54f8 --- /dev/null +++ b/srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch @@ -0,0 +1,28 @@ +Remove the 'have_library()' check. It breaks cross compilation. +The checked for libxslt and libexslt are pulled in via makedepends +and therefore do exist, anyway. + +--- Makefile.PL.orig ++++ Makefile.PL +@@ -157,20 +157,8 @@ + $config{LIBS} .= $::is_Win32 ? '' :' -lm'; + } + +-if (!have_library($::is_Win32 ? "libxslt" : "xslt")) { +- print STDERR <