Fix the XXX in #29303
Steve Hay [Fri, 17 Nov 2006 17:07:33 +0000 (17:07 +0000)]
p4raw-id: //depot/perl@29307

win32/makefile.mk

index 80454ca..de4c9eb 100644 (file)
@@ -1209,14 +1209,9 @@ $(PERLSTATICLIB): Extensions_static
            @$(mktmp $(subst,\,$B $(shell @type Extensions_static)) \
                $(PERLDLL_OBJ:s,\,$B,))
 .ELIF "$(CCTYPE)" == "GCC"
-# XXX: It would be nice if MinGW's ar accepted a temporary file, but this
-# doesn't seem to work:
-#      $(LIB32) $(LIB_FLAGS) $@ \
-#          $(mktmp $(LKPRE) $(subst,\,$B $(shell @type Extensions_static)) \
-#              $(PERLDLL_OBJ:s,\,$B,) $(LKPOST))
-       $(LIB32) $(LIB_FLAGS) $@ \
-           $(subst,\,$B $(shell @type Extensions_static)) \
-           $(PERLDLL_OBJ:s,\,$B,)
+       $(LIB32) $(LIB_FLAGS) $@ $(shell @type $(mktmp \
+          $(subst,\,$B $(shell @type Extensions_static)) \
+          $(PERLDLL_OBJ:s,\,$B,)))
 .ELSE
        $(LIB32) $(LIB_FLAGS) -out:$@ @Extensions_static \
            @$(mktmp $(PERLDLL_OBJ:s,\,$B,))