chiark / gitweb /
Fix the Cygwin RCFLAGS in the light of recent changes.
authorSimon Tatham <anakin@pobox.com>
Wed, 27 Dec 2006 15:33:43 +0000 (15:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 27 Dec 2006 15:33:43 +0000 (15:33 +0000)
[originally from svn r7023]

mkfiles.pl

index 165f796beb4024227880d1a5fc87ee4b397283cd..4aa7f20fe3f021efe9cf9c6a88a203c404c97464 100755 (executable)
@@ -492,7 +492,8 @@ if (defined $makefiles{'cygwin'}) {
               "\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";