[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross build support in perl 5.22.1-7

On 2017-09-15 16:45 +0100, Wookey wrote:
> However using that:
>        "$Config{incpth}", "$sysroot/usr/local/include",
>  doesn't work, probably due to multiple paths (my perl foo is very rusty).

OK, so slitting the paths works:
        my ($linux_errno_h) = grep { -e $_ } map { "$_/errno.h" }
            split( / /,"$Config{incpth}"), "$sysroot/usr/local/include/",
            split / / => $Config{locincpth} or
                die "Cannot find errno.h";

But as that path includes /usr/include at the end, I'm don't think
this is strictly correct, and a more sophisticated fix would be

Fixing that lets the build complete :-)

Principal hats:  Linaro, Debian, Wookware, ARM

Attachment: signature.asc
Description: Digital signature

Reply to: