[Reproducible-commits] [libextutils-depends-perl] 80/187: Don't assume gcc on Win32 matches /^gcc/i
Maria Valentina Marin Rodrigues
akira-guest at moszumanska.debian.org
Wed Jan 21 21:16:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.
commit 4e05684b6aea3eb833c1006d5c10dab4d82a5aa1
Author: Florian Ragwitz <rafl at debian.org>
Date: Wed Jan 26 08:43:34 2011 +0100
Don't assume gcc on Win32 matches /^gcc/i
RT#62455 claims this isn't always true and suggests this alternative. We believe
them.
---
lib/ExtUtils/Depends.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index f5bb791..987e857 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -348,7 +348,7 @@ use Config;
sub static_lib {
my $base = shift->SUPER::static_lib(@_);
- return $base unless $^O =~ /MSWin32/ && $Config{cc} =~ /^gcc/i;
+ return $base unless $^O =~ /MSWin32/ && $Config{cc} =~ /\bgcc\b/i;
return <<'__EOM__';
# This isn't actually a static lib, it just has the same name on Win32.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git
More information about the Reproducible-commits
mailing list