X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2FFindExt.pm;h=298b44f9f193086bc6386e2a6d3dd86ddf7852be;hb=410be5dba347e0340059d489e15d034982d73278;hp=690be6d8823737234fd3be66cf93aa7f4a50f0bb;hpb=cf2f24a416dd5be7d3f4153bf173ec2a57eaed43;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/FindExt.pm b/win32/FindExt.pm index 690be6d..298b44f 100644 --- a/win32/FindExt.pm +++ b/win32/FindExt.pm @@ -82,7 +82,7 @@ sub find_ext closedir $dh; for my $xxx (@items) { if ($xxx ne "DynaLoader") { - if (-f "$xxx/$xxx.xs") { + if (-f "$xxx/$xxx.xs" || -f "$xxx/$xxx.c" ) { $ext{"$_[0]$xxx"} = $static{"$_[0]$xxx"} ? 'static' : 'dynamic'; } elsif (-f "$xxx/Makefile.PL") { $ext{"$_[0]$xxx"} = 'nonxs';