From: Peter Prymmer Date: Sat, 8 Jun 2002 20:57:05 +0000 (-0400) Subject: possible band-aid for cygwin build of perl@17061 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e31d4690d3ec16aa6b9d12db8e96daf1f88a6685;p=p5sagit%2Fp5-mst-13.2.git possible band-aid for cygwin build of perl@17061 Message-ID: p4raw-id: //depot/perl@17136 --- diff --git a/Makefile.SH b/Makefile.SH index 07b8da0..7759a28 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -378,9 +378,19 @@ perlmain.c: miniperlmain.c config.sh $(FIRSTMAKEFILE) sh writemain $(DYNALOADER) $(static_ext) > writemain.tmp sh mv-if-diff writemain.tmp perlmain.c +!NO!SUBS! +case "$osname" in +cygwin) + ;; # Let cygwin/Makefile.SHs do its work. +*) + $spitshell >>Makefile <<'!NO!SUBS!' perlmain$(OBJ_EXT): perlmain.c $(CCCMD) $(PLDLFLAGS) $*.c +!NO!SUBS! + ;; +esac +$spitshell >>Makefile <<'!NO!SUBS!' # The file ext.libs is a list of libraries that must be linked in # for static extensions, e.g. -lm -lgdbm, etc. The individual # static extension Makefile's add to it. diff --git a/README.cygwin b/README.cygwin index 72a4dd1..026da0d 100644 --- a/README.cygwin +++ b/README.cygwin @@ -502,8 +502,6 @@ be kept as clean as possible (listing not updated yet). =head1 BUGS ON CYGWIN -When I starts, it warns about overriding commands for F. - Support for swapping real and effective user and group IDs is incomplete. On WinNT Cygwin provides setuid(), seteuid(), setgid() and setegid(). However, additional Cygwin calls for manipulating WinNT access tokens