Browse Source

package/php: needs wchar

php depends on wchar since bump to version 8.0.7 in commit
469c11c516959375f6caddde178adbdcdc5d9887 and
https://github.com/php/php-src/commit/457380cae7813a4a34faa1f9a49fa121395fe290

Fixes:
 - http://autobuild.buildroot.org/results/751fea989e4c0136d0bbda0f5487d55d387ee5f3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 4 years ago
parent
commit
9d8b1d3977
1 changed files with 5 additions and 0 deletions
  1. 5 0
      package/php/Config.in

+ 5 - 0
package/php/Config.in

@@ -4,6 +4,7 @@ config BR2_PACKAGE_PHP
 	# message like "ld.real: section .junk LMA [...,...] overlaps
 	# section .text LMA [...,...]"
 	depends on !BR2_BINFMT_FLAT
+	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_PHP_SAPI_CGI if \
 	       !BR2_PACKAGE_PHP_SAPI_APACHE && \
 	       !BR2_PACKAGE_PHP_SAPI_CLI && \
@@ -49,3 +50,7 @@ config BR2_PACKAGE_PHP_SAPI_FPM
 source "package/php/Config.ext"
 
 endif
+
+comment "php needs a toolchain w/ wchar"
+	depends on !BR2_BINFMT_FLAT
+	depends on !BR2_USE_WCHAR