diff options
author | Peter Prymmer <PPrymmer@factset.com> | 2002-06-08 16:57:05 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-06-09 16:01:50 +0000 |
commit | e31d4690d3ec16aa6b9d12db8e96daf1f88a6685 (patch) | |
tree | 8c04d79335bd95008d6f10f65a61733752c1958b | |
parent | cd0db8e5f038869374e1184e3ec8e8051da9057a (diff) | |
download | perl-e31d4690d3ec16aa6b9d12db8e96daf1f88a6685.tar.gz |
possible band-aid for cygwin build of perl@17061
Message-ID: <OF846EEF0D.EE48F625-ON85256BD3.0002CB12@55.25.11>
p4raw-id: //depot/perl@17136
-rw-r--r-- | Makefile.SH | 10 | ||||
-rw-r--r-- | README.cygwin | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.SH b/Makefile.SH index 07b8da07c4..7759a28a51 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 72a4dd1aec..026da0d58b 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<make> starts, it warns about overriding commands for F<perlmain.o>. - 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 |