Source: libnet-ssh2-perl
Version: 0.71-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

libnet-ssh2-perl fails to cross build from source, because Makefile.PL
uses a compile + run test to detect the ssh2 library. Running an
executable is not necessary here and doing so breaks cross compilation.
Please consider using a link-only test, e.g. by applying the attached
patch.

Helmut
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -151,6 +151,7 @@ sub findlib {
             for my $ldflags (@ldflags) {
                 if (eval {
                     assertlibs( %args,
+                                not_execute => 1,
                                 libpath => $libpath,
                                 incpath => $incpath,
                                 ldflags => $ldflags);

Reply via email to