Skip Menu |

This queue is for tickets about the ExtUtils-Embed CPAN distribution.

Report information
The Basics
Id: 16744
Status: new
Priority: 0/
Queue: ExtUtils-Embed

People
Owner: Nobody in particular
Requestors: rurban [...] x-ray.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: ExtUtils::Embed::xsinit fails for static_ext ' Win32CORE' (cygwin)
PAR-0.90 and earlier doesn't build OOTB on cygwin with $Config{static_ext} = ' Win32CORE' See https://rt.cpan.org/NoAuth/Bug.html?id=9662 Note the leading whitespace which leads inside ExtUtils::Embed::xsinit() strip /\s+/ to an empty array element which leads to a wrong perlxsi.c line. Please consider something like the attached patch ExtUtils/Embed.pm
--- /lib/perl5/5.8/ExtUtils/Embed.pm.orig 2005-08-22 22:27:13.001000000 +0100 +++ /lib/perl5/5.8/ExtUtils/Embed.pm 2005-12-27 14:06:08.396250000 +0100 @@ -133,7 +133,9 @@ sub static_ext { unless (scalar @Extensions) { - @Extensions = sort split /\s+/, $Config{static_ext}; + my $static_ext = $Config{static_ext}; + $static_ext =~ s/^\s+//; + @Extensions = sort split /\s+/, $static_ext; unshift @Extensions, qw(DynaLoader); } @Extensions;