Subject: | Win32 compatibility patch |
Hi,
I would like to propose the following patch to Makefile.PL:
@@ -424,7 +424,9 @@
push(@incs, split /;/, $ENV{INCLUDE}) if exists $ENV{INCLUDE};
}
if ($Config{incpath}) {
- push @incs, grep -d, split /\Q$Config{path_sep}/, $Config{incpath};
+ foreach my $i (grep -d, split /\Q$Config{path_sep}/,
$Config{incpath}) {
+ push @incs, [ $i, "$i/freetype2" ];
+ }
}
push @incs, grep -d,
qw(/sw/include
It concerns freetype support and it just adds additional "-I" include
dirs based on $Config{incpath}.
- if $Config{incpath} contains e.g. "c:\strawberry\c\include"
- we add into @incs c:\strawberry\c\include as well as
c:\strawberry\c\include\freetype2
This makes compilation on Win32/strawberry easier - currently you do not
put c:\straberry\c\include\freetype2 into @incs.
Give me please at least a short feedback if you find this patch sane. We
are about to add graphics bin libs (libpng, libgif, libtiff,
libfreetype) into October release of Win32/strawberry perl and I just
need to know whether I can expect this patch applied till october or if
I should find some workaround for this issue.
--
kmx