- Timestamp:
- 07/14/07 06:25:02 (17 months ago)
- Files:
-
- 1 modified
-
util/build_pugs.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/build_pugs.pl
r17055 r17057 80 80 }; 81 81 82 #unshift @args, '-optc-ID:\ghc\ghc-6.4.2\include\mingw', '-optc-ID:\ghc\ghc-6.4.2\gcc-lib\include', '-optc-I/usr/include', '-optc-I/usr/include/cygwin', '-D__CYGWIN__',83 82 unshift @args, '-I/usr/lib/perl5/5.8/cygwin/CORE', 84 '-optc-ID:\ghc\ghc-6.4.2\include\mingw', 83 "-optc-IC:\\ghc\\ghc-$ghc_version\\include\\mingw", 84 "-optc-ID:\\ghc\\ghc-$ghc_version\\include\\mingw", 85 85 '-optc-I/usr/include', 86 86 '-optl-I/usr/include/cygwin'; 87 87 for my $arg (@args) { 88 88 $arg =~ s{(-optc-[IL]|-optl|-optl-L|-I|-L)(/\S+)}{$1 . $cygpath->($2)}eg; 89 #if ($arg =~ m{D:/cygwin/usr/include}i) { 90 # $arg = '-optc-ID:\ghc\ghc-6.4.2\include\mingw'; 91 #} 92 } 93 94 #push @args, '-optc-I$cywin_path/lib/perl5/5.8/cygwin/CORE', 95 # '-optl-L$cygwin_path/lib/perl5/5.8/cygwin/CORE'; 96 #warn "\n\n [248] !!!\n\n @args \n\n !!!!\n\n"; 89 } 97 90 } 98 91 … … 526 519 527 520 if ($^O =~ /(?:MSWin32|mingw|msys|cygwin)/) { 528 $add_dep->('Win32 -any') unless $ghc_version =~ /^6.4(?:.0)?$/;521 $add_dep->('Win32 -any'); 529 522 } 530 523 else {
