This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Backport #30379
authorYitzchak Scott-Thoennes <sthoenna@efn.org>
Tue, 20 Feb 2007 01:50:18 +0000 (17:50 -0800)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Fri, 9 Mar 2007 17:42:45 +0000 (17:42 +0000)
Subject: [PATCH] Re: Win32 modules & cygwin
Message-ID: <1254.67.42.109.122.1171965018.squirrel@67.42.109.122>

p4raw-id: //depot/metaconfig@30523

U/perl/Extensions.U

index 1555b68..d22dcea 100644 (file)
@@ -77,7 +77,7 @@ find_extensions='
        case "$xxx" in
            DynaLoader|dynaload) ;;
            *)
-           if $test -f $xxx/$xxx.xs; then
+           if $test -f $xxx/$xxx.xs -o -f $xxx/$xxx.c; then
                known_extensions="$known_extensions $1$xxx";
            elif $test -f $xxx/Makefile.PL; then
                nonxs_extensions="$nonxs_extensions $1$xxx";
@@ -195,7 +195,7 @@ for xxx in $known_extensions ; do
                         esac
                esac
                ;;
-       Win32)
+       Win32*)
                case "$osname" in
                cygwin) avail_ext="$avail_ext $xxx" ;;
                esac