summaryrefslogtreecommitdiff
path: root/win32/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r--win32/makefile.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 87d5c163eb..35ced6cfc8 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -554,7 +554,11 @@ $(o).dll:
.ENDIF
.rc.res:
- $(RSC) -i $< -o $@
+.IF "$(CCTYPE)" == "GCC"
+ $(RSC) --use-temp-file -i $< -o $@
+.ELSE
+ $(RSC) -i.. $<
+.ENDIF
#
# various targets