diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2014-11-04 01:14:04 -0500 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-04 16:10:10 -0800 |
commit | 1ea1c22cdde81c355888a51d1e43c8ff43718e55 (patch) | |
tree | bce7efd4d7a2f2d81d382663a40f7e246316d110 /make_ext.pl | |
parent | 9aa4d471928415e7d9c77e5236160979bd544d14 (diff) | |
download | perl-1ea1c22cdde81c355888a51d1e43c8ff43718e55.tar.gz |
fix Win32 nmake cant rebuild DynaLoader.obj on Makefile regen bug
See [perl #123123] for details.
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/make_ext.pl b/make_ext.pl index 126bf737d5..dbef0d5d42 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -185,10 +185,7 @@ if (IS_WIN32) { next; } push @extspec, $_; - if($_ eq 'DynaLoader' and $target !~ /clean$/) { - # No, we don't know why nmake can't work out the dependency chain - push @{$extra_passthrough{$_}}, 'DynaLoader.c'; - } elsif(FindExt::is_static($_)) { + if($_ ne 'DynaLoader' && FindExt::is_static($_)) { push @{$extra_passthrough{$_}}, 'LINKTYPE=static'; } } |