Add path to expat on Windows to benefit from faster AMF parsing
This commit is contained in:
parent
d0cbf56354
commit
c8fb1ceac8
6
Build.PL
6
Build.PL
@ -100,7 +100,11 @@ EOF
|
|||||||
my %modules = (%prereqs, %recommends);
|
my %modules = (%prereqs, %recommends);
|
||||||
foreach my $module (sort keys %modules) {
|
foreach my $module (sort keys %modules) {
|
||||||
my $version = $modules{$module};
|
my $version = $modules{$module};
|
||||||
my $res = system $cpanm, "$module~$version";
|
my @cmd = ($cpanm, "$module~$version");
|
||||||
|
if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') {
|
||||||
|
push @cmd, '--configure-args="EXPATLIBPATH=C:\dev\CitrusPerl\mingw64\lib EXPATINCPATH=C:\dev\CitrusPerl\mingw64\include"';
|
||||||
|
}
|
||||||
|
my $res = system @cmd;
|
||||||
if ($res != 0) {
|
if ($res != 0) {
|
||||||
if (exists $prereqs{$module}) {
|
if (exists $prereqs{$module}) {
|
||||||
push @missing_prereqs, $module;
|
push @missing_prereqs, $module;
|
||||||
|
Loading…
Reference in New Issue
Block a user