Fallback to Perl parser if ExpatXS is not installed

This commit is contained in:
fbsanchez 2019-08-02 14:11:28 +02:00
parent f38962de8d
commit 45f7c89b5e
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ if (!$@) {
# Force best option available. # Force best option available.
$XML::Simple::PREFERRED_PARSER='XML::SAX::ExpatXS'; $XML::Simple::PREFERRED_PARSER='XML::SAX::ExpatXS';
} else { } else {
# Let ParserDetails.ini command parser. # Use classic parser.
$XML::Simple::PREFERRED_PARSER='XML::Parser';
} }
# Default lib dir for RPM and DEB packages # Default lib dir for RPM and DEB packages