mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
6a2c5318f9
commit
dd4e2ef5b0
3 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue