diff options
author | Yitzchak Scott-Thoennes <sthoenna@efn.org> | 2007-02-19 17:50:18 -0800 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2007-02-22 09:09:31 +0000 |
commit | 78ff2d7be71ff9f6811d8b05bb66c4c4707951ba (patch) | |
tree | a2013860b69217e66dd1332f49526b63ed76d5b8 /win32/FindExt.pm | |
parent | 097911b5e678dd1e36060b9c7d2408b8eb887a7a (diff) | |
download | perl-78ff2d7be71ff9f6811d8b05bb66c4c4707951ba.tar.gz |
Re: Win32 modules & cygwin
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <1254.67.42.109.122.1171965018.squirrel@67.42.109.122>
Also includes integration & deletion of win32/ext/Win32API to
ext/Win32API, and addition of copyright message and corrections to
spacing/tabbing as suggested by Jan Dubois.
p4raw-id: //depot/perl@30379
Diffstat (limited to 'win32/FindExt.pm')
-rw-r--r-- | win32/FindExt.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/FindExt.pm b/win32/FindExt.pm index eb0eb3b662..f0477b8846 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'; |