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)

Attachments


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 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
Download ExtUtils-Embed.diff
text/x-diff 466b
--- /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;


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.