aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2006-12-27 15:33:43 +0000
committerSimon Tatham <anakin@pobox.com>2006-12-27 15:33:43 +0000
commit1f1eee4246fe811d09305e775e2b6b9484f9415c (patch)
tree915c6f3e7b3af96006fc99f680ea8ce83ac06353
parent197c2ebc122d9dc30036deb96f3bf098dac40615 (diff)
downloadpuzzles-1f1eee4246fe811d09305e775e2b6b9484f9415c.zip
puzzles-1f1eee4246fe811d09305e775e2b6b9484f9415c.tar.gz
puzzles-1f1eee4246fe811d09305e775e2b6b9484f9415c.tar.bz2
puzzles-1f1eee4246fe811d09305e775e2b6b9484f9415c.tar.xz
Fix the Cygwin RCFLAGS in the light of recent changes.
[originally from svn r7023]
-rwxr-xr-xmkfiles.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkfiles.pl b/mkfiles.pl
index 165f796..4aa7f20 100755
--- a/mkfiles.pl
+++ b/mkfiles.pl
@@ -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";