diff options
author | bubnikv <bubnikv@gmail.com> | 2017-02-27 02:38:30 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-27 02:38:30 +0300 |
commit | f0f550783febed5d34d19959bab96afcbaa7069b (patch) | |
tree | a46d39fe37e33ddc7f12a867e2d1ac080f999e9d /Build.PL | |
parent | 9ea570ea4e9322ab73cf43634a60e2d6f0b22c17 (diff) |
Good bye, Perl Expat binding!
Diffstat (limited to 'Build.PL')
-rw-r--r-- | Build.PL | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -28,7 +28,6 @@ my %prereqs = qw( ); my %recommends = qw( Class::XSAccessor 0 - XML::SAX::ExpatXS 0 Test::Harness 0 ); @@ -125,15 +124,7 @@ EOF if $module =~ /^(?:OpenGL|Test::Harness)$/; push @cmd, "$module~$version"; - if ($module eq 'XML::SAX::ExpatXS' && $^O eq 'MSWin32') { - my $mingw = 'C:\dev\CitrusPerl\mingw64'; - $mingw = 'C:\dev\CitrusPerl\mingw32' if !-d $mingw; - if (!-d $mingw) { - print "Could not find the MinGW directory at $mingw; skipping XML::SAX::ExpatXS (only needed for faster parsing of AMF files)\n"; - } else { - push @cmd, sprintf('--configure-args="EXPATLIBPATH=%s\lib EXPATINCPATH=%s\include"', $mingw, $mingw); - } - } + my $res = system @cmd; if ($res != 0) { if (exists $prereqs{$module}) { |