Older versions of windres interpret "-I" as the input format,
authorSteve Hay <SteveHay@planit.com>
Mon, 14 May 2007 16:22:04 +0000 (16:22 +0000)
committerSteve Hay <SteveHay@planit.com>
Mon, 14 May 2007 16:22:04 +0000 (16:22 +0000)
so use the long option name "--include-dir" instead.

p4raw-id: //depot/perl@31213

win32/makefile.mk

index 6698bf7..6b1f38b 100644 (file)
@@ -679,7 +679,7 @@ $(o).dll:
 
 .rc.res:
 .IF "$(CCTYPE)" == "GCC"
-       $(RSC) --use-temp-file -I . -I .. -O COFF -i $< -o $@
+       $(RSC) --use-temp-file --include-dir=. --include-dir=.. -O COFF -i $< -o $@
 .ELSE
        $(RSC) -i.. $<
 .ENDIF