summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-11-17 17:07:33 +0000
committerSteve Hay <SteveHay@planit.com>2006-11-17 17:07:33 +0000
commitf026e24baa3a7e847539858e94ce5f0945d6d5d8 (patch)
tree054dde9aa082ad1d0c1d33a3e11e46fe2f6fcd96 /win32
parentc900f74580ebe7faeef0324ea7c6ac3a3658a9bb (diff)
downloadperl-f026e24baa3a7e847539858e94ce5f0945d6d5d8.tar.gz
Fix the XXX in #29303
p4raw-id: //depot/perl@29307
Diffstat (limited to 'win32')
-rw-r--r--win32/makefile.mk11
1 files changed, 3 insertions, 8 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 80454ca91d..de4c9eb9aa 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -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,))