1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix GH-13789: build failed mbstring_arginfo.h when Visual C++ on Windows (#13906)

Probably CP932 environment can't compile. So add /utf-8 flag.
This commit is contained in:
tekimen
2024-04-08 04:43:46 +09:00
committed by GitHub
parent 1e4bb039eb
commit 0f1e97957a

View File

@@ -13,6 +13,8 @@ if (PHP_MBSTRING != "no") {
ADD_FLAG("CFLAGS_MBSTRING", "-Iext/mbstring -Iext/mbstring/libmbfl -Iext/mbstring/libmbfl/mbfl \
/D HAVE_STRICMP /D MBFL_DLL_EXPORT=1 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1")
ADD_FLAG("CFLAGS_BD_EXT_MBSTRING", "/utf-8")
FSO.CopyFile("ext\\mbstring\\libmbfl\\config.h.w32",
"ext\\mbstring\\libmbfl\\config.h", true);