Fallback to Perl parser if ExpatXS is not installed
This commit is contained in:
parent
f38962de8d
commit
45f7c89b5e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue