[Buildroot] [git commit] package/php: needs wchar

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Jul 25 13:13:00 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=9d8b1d3977fa5cd2829a7214a8f2ea479560d421
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/php/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/php/Config.in b/package/php/Config.in
index 6fa420428b..226d2d5fd2 100644
--- a/package/php/Config.in
+++ b/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


More information about the buildroot mailing list