summaryrefslogtreecommitdiff
path: root/win32/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r--win32/makefile.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index de4c9eb9aa..80454ca91d 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1209,9 +1209,14 @@ $(PERLSTATICLIB): Extensions_static
@$(mktmp $(subst,\,$B $(shell @type Extensions_static)) \
$(PERLDLL_OBJ:s,\,$B,))
.ELIF "$(CCTYPE)" == "GCC"
- $(LIB32) $(LIB_FLAGS) $@ $(shell @type $(mktmp \
- $(subst,\,$B $(shell @type Extensions_static)) \
- $(PERLDLL_OBJ:s,\,$B,)))
+# 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,)
.ELSE
$(LIB32) $(LIB_FLAGS) -out:$@ @Extensions_static \
@$(mktmp $(PERLDLL_OBJ:s,\,$B,))