package/php: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 25 Jul 2021 12:56:17 +0000 (14:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 25 Jul 2021 13:13:00 +0000 (15:13 +0200)
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>
package/php/Config.in

index 6fa420428b5a575a055e930923c7329e4d1dd8cb..226d2d5fd246d24822f95c1f8fc9fc3ed1c10d49 100644 (file)
@@ -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