mirror of
https://github.com/openwrt/packages.git
synced 2026-02-04 12:06:29 +08:00
php8: fix xmlreader dom circular dependency
xmlreader was selecting package php8-mod-dom as well as depending on PHP8_DOM, while php8-mod-dom also depended on PHP8_DOM (and therefore selected PHP8_DOM when php8-mod-dom was selected). This is a Kconfig recursive dependency, so break the recursion by noting that because php8-mod-xmlreader selects php8-mod-dom, PHP8_DOM is a transitive depends, so php8-mod-xmlreader should not depend on PHP8_DOM itself. Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
This commit is contained in:
committed by
Michael Heimpold
parent
8d7faa245a
commit
247c1a1964
@@ -9,6 +9,11 @@ config PHP8_DOM
|
||||
bool "PHP8 DOM support"
|
||||
depends on PHP8_LIBXML
|
||||
default y
|
||||
help
|
||||
Without php8-mod-dom, this option does not provide a PHP8
|
||||
programmer the XML DOM functionality (it only adds DOM for internal
|
||||
use by php-cli, php-cgi, etc.). Therefore please consider adding
|
||||
php8-mod-dom to provide this functionality to PHP8 consumers.
|
||||
|
||||
config PHP8_SYSTEMTZDATA
|
||||
bool "Use system timezone data instead of php's built-in database"
|
||||
|
||||
@@ -677,6 +677,6 @@ $(eval $(call BuildModule,sysvsem,System V shared memory))
|
||||
$(eval $(call BuildModule,sysvshm,System V semaphore))
|
||||
$(eval $(call BuildModule,tokenizer,Tokenizer))
|
||||
$(eval $(call BuildModule,xml,XML,+PHP8_LIBXML:libxml2 +!PHP8_LIBXML:libexpat))
|
||||
$(eval $(call BuildModule,xmlreader,XMLReader,@PHP8_LIBXML @PHP8_DOM +PACKAGE_php8-mod-xmlreader:php8-mod-dom +PACKAGE_php8-mod-xmlreader:libxml2))
|
||||
$(eval $(call BuildModule,xmlreader,XMLReader,@PHP8_LIBXML +PACKAGE_php8-mod-xmlreader:php8-mod-dom +PACKAGE_php8-mod-xmlreader:libxml2))
|
||||
$(eval $(call BuildModule,xmlwriter,XMLWriter,@PHP8_LIBXML +PACKAGE_php8-mod-xmlwriter:libxml2))
|
||||
$(eval $(call BuildModule,zip,ZIP,+PACKAGE_php8-mod-zip:libzip))
|
||||
|
||||
Reference in New Issue
Block a user