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

Owner: Nobody in particular
Requestors: rurban [...]

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


Subject: ExtUtils::Embed::xsinit fails for static_ext ' Win32CORE' (cygwin)
Download (untitled) / with headers
text/plain 359b
PAR-0.90 and earlier doesn't build OOTB on cygwin with $Config{static_ext} = ' Win32CORE' See 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/
Download ExtUtils-Embed.diff
text/x-diff 466b
--- /lib/perl5/5.8/ExtUtils/ 2005-08-22 22:27:13.001000000 +0100 +++ /lib/perl5/5.8/ExtUtils/ 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;

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to