icu: disable use of _strtod_l (#2709)

This function does not seem to be available on Windows XP
so disable by explicitly defining U_USE_STRTOD_L as 0.

Fixes #2708
This commit is contained in:
Eduard Braun
2017-08-13 13:17:58 +02:00
committed by Алексей
parent d311175481
commit 56ee0399cf

View File

@@ -10,7 +10,7 @@ _realname=icu
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-${_realname}-debug-libs")
pkgver=58.2
pkgrel=1
pkgrel=2
arch=('any')
pkgdesc="International Components for Unicode library (mingw-w64)"
arch=('any')
@@ -86,6 +86,7 @@ prepare() {
build() {
local -a extra_config
CXXFLAGS+=" -DU_USE_STRTOD_L=0" # breaks on Windows XP
#CXXFLAGS+=" -D_WIN32_WINNT=0x0601"
cd "${srcdir}/icu/"
# For ICU we ignore the options for debug above and always