Conversation
|
I traveled across almost entire internet, and found a lot of things that proved we cannot statically build icu with Visual Studio. If we want to compile statically on Windows, we may have to use Cygwin or MSYS2, but they are also not suitable for static linking. The first evidence is the mail list from SourceForge: In short, it can't be done. The second one is from icu official docs: the following configure options (including I also tried to patch icu code, such as adding Although I don't want to say it, it is almost impossible for me to solve this now, unless the icu official or others who are more familiar with VC++ can provide more details. But don't have to worry about not being able to use the intl extension under |
|
Thanks for your work! and thorough explanation. This is super helpful. I will explore your suggestion as an alternative on Windows to see where we can get to. Do I need to anything special when building |
I haven't tested more extensions, but what is certain is that the default compilation results in working directly with Under normal circumstances, it is not difficult to match the three, but if possible, we can reuse the static-php build kit to build the extension dll. |
What does this PR do?
Try to fix #435
Checklist before merging
src/global/test-extensions.php.config/xxxx.jsoncontent, runbin/spc dev:sort-config xxx.