shithub: puzzles

Download patch

ref: 1f1eee4246fe811d09305e775e2b6b9484f9415c
parent: 197c2ebc122d9dc30036deb96f3bf098dac40615
author: Simon Tatham <[email protected]>
date: Wed Dec 27 10:33:43 EST 2006

Fix the Cygwin RCFLAGS in the light of recent changes.

[originally from svn r7023]

--- a/mkfiles.pl
+++ b/mkfiles.pl
@@ -492,7 +492,8 @@
 	       "\n".
     "LDFLAGS = -mno-cygwin -s\n".
     &splitline("RCFLAGS = \$(RCINC) --define WIN32=1 --define _WIN32=1".
-      " --define WINVER=0x0400 --define MINGW32_FIX=1")."\n".
+      " --define WINVER=0x0400 --define MINGW32_FIX=1 " .
+	(join " ", map {"--include $dirpfx$_"} @srcdirs) )."\n".
     "\n";
     print &splitline("all:" . join "", map { " $_.exe" } &progrealnames("G:C"));
     print "\n\n";