From: Yitzchak Scott-Thoennes Date: Sun, 16 Apr 2006 18:05:20 +0000 (-0700) Subject: fix cygwin build X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=52ef5499a7834e9d44061a993a2621a1bf3a4def;p=p5sagit%2Fp5-mst-13.2.git fix cygwin build Message-ID: <20060417010520.GA2888@efn.org> p4raw-id: //depot/perl@27865 --- diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs index c99cfb7..fb74a1b 100644 --- a/cygwin/Makefile.SHs +++ b/cygwin/Makefile.SHs @@ -104,13 +104,13 @@ perlmain$(OBJ_EXT): perlmain.c # library used to make statically linked executables # miniperl is linked against it to avoid libperl.dll locking -$(LIBPERL)$(LIB_EXT): $& perl$(OBJ_EXT) $(cwobj) - $(AR) rcu $@ perl$(OBJ_EXT) $(cwobj) +$(LIBPERL)$(LIB_EXT): $& $(cwobj) + $(AR) rcu $@ $(cwobj) # dll and import library -$(LIBPERL).dll$(LIB_EXT): $& perl$(OBJ_EXT) $(cwobj) ld2 +$(LIBPERL).dll$(LIB_EXT): $& $(cwobj) ld2 $(LDLIBPTH) ld2 $(SHRPLDFLAGS) -o $(LIBPERL)$(DLSUFFIX) \ - perl$(OBJ_EXT) $(cwobj) $(libs) + $(cwobj) $(libs) # How to build executables. @@ -145,8 +145,8 @@ $spitshell >>Makefile <<'!NO!SUBS!' cwobj = $(obj) # perl library -$(LIBPERL)$(LIB_EXT): $& perl$(OBJ_EXT) $(cwobj) - $(AR) rcu $@ perl$(OBJ_EXT) $(cwobj) +$(LIBPERL)$(LIB_EXT): $& $(cwobj) + $(AR) rcu $@ $(cwobj) # How to build executables.