转发: What is the reason that sqlite with icu cannot coexist with intl shared under Window s?
| From: | 张 恩江 | Date: | Wed, 30 Aug 2017 23:52:14 +0000 |
| Subject: | 转发: What is the reason that sqlite with icu cannot coexist with intl shared under Window s? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100328@lists.php.net to get a copy of this message | ||
发件人: 张 恩江 <ejzhang@hotmail.com>
发送时间: 2017年8月30日 12:52
收件人: internals@lists.php.net
主题: What is the reason that sqlite with icu cannot coexist with intl shared under Windows?
I tried to compile sqlite3 extension with icu for php, but found a comment in
ext/pdo_sqlite/config.m4, that is "As long as intl is not shared we can have ICU support".
When i tried to compile intl to statical, and found another comment in ext/intl/config.w32, that is
"always build as shared - zend_strtod.c/ICU type conflict".
I don't know where the conflict is, can this problem be fixed? Is the sqlite extension in php
not support icu?
Expect any replies, Thank you very much!
The snippet in ext/pdo_sqlite/config.m4:
if test "$PHP_INTL" = "yes" && test "$PHP_INTL_SHARED" !=
"yes"; then
other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
fi