php7-mod-xmlreader: add conditional dependency to php7-mod-dom (fixes #10201)
authorMichael Heimpold <mhei@heimpold.de>
Tue, 15 Oct 2019 22:01:51 +0000 (00:01 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Tue, 15 Oct 2019 22:04:24 +0000 (00:04 +0200)
commitb8c22fc1ec392272235ce78ddc0ddfc40de5037d
treeb8ce74ec6b26b37717e74ccac0e29d989011494d
parent61ec0f815dd1c881426b5e797cf74dea97984475
php7-mod-xmlreader: add conditional dependency to php7-mod-dom (fixes #10201)

PHP7 fails to load xmlreader.so (php7-mod-xmlreader) module without
dom.so (php7-mod-dom) module loaded:

-snip-
PHP Warning:  PHP Startup: Unable to load dynamic library 'xmlreader.so'
 (tried: /usr/lib/php/xmlreader.so (Error relocating /usr/lib/php/xmlreader.so:
 dom_node_class_entry: symbol not found), /usr/lib/php/xmlreader.so.so (Error
 loading shared library /usr/lib/php/xmlreader.so.so: No such file or
 directory)) in Unknown on line 0
^C
-snap-

However, this dependency only exists when during build also php7-mod-dom
is selected.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lang/php7/Makefile