Update ext/xmlreader dependencies (#14572)

- ext/dom is optional (using HAVE_DOM for cases when dom is build as
  a shared extension to make it required in that case)
- ext/libxml is required
This commit is contained in:
Peter Kokot 2024-06-15 16:25:26 +02:00 committed by GitHub
parent 6a2c5318f9
commit dd4e2ef5b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 6 deletions

View file

@ -277,6 +277,9 @@ static xmlRelaxNGPtr _xmlreader_get_relaxNG(char *source, size_t source_len, siz
#endif
static const zend_module_dep xmlreader_deps[] = {
#ifdef HAVE_DOM
ZEND_MOD_REQUIRED("dom")
#endif
ZEND_MOD_REQUIRED("libxml")
ZEND_MOD_END
};