Change 31707 by [EMAIL PROTECTED] on 2007/08/14 06:27:48
Strip whitespace from the beginning of static_ext:
Subject: [PATCH] CYG02lib-ExtUtils-Embed.patch
From: Reini Urban <[EMAIL PROTECTED]>
Date: Tue, 14 Aug 2007 08:21:11 +0200
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/lib/ExtUtils/Embed.pm#30 edit
Differences ...
==== //depot/perl/lib/ExtUtils/Embed.pm#30 (text) ====
Index: perl/lib/ExtUtils/Embed.pm
--- perl/lib/ExtUtils/Embed.pm#29~28567~ 2006-07-13 10:12:00.000000000
-0700
+++ perl/lib/ExtUtils/Embed.pm 2007-08-13 23:27:48.000000000 -0700
@@ -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;
End of Patch.