[PATCH] icu: Mark strtod_l unavailable on musl

Khem Raj
2020-04-04T18:51:46Z

Musl version is just a wrapper to strtod and not an exposed API

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-support/icu/icu_66.1.bb | 2 ++
1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_66.1.bb
index 736bec4605..93d7fdbd3b 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_66.1.bb
@@ -37,6 +37,8 @@ SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be11255
UPSTREAM_CHECK_REGEX = "icu4c-(?P<pver>\d+(_\d+)+)-src"
UPSTREAM_CHECK_URI = "https://github.com/unicode-org/icu/releases"

+EXTRA_OECONF_append_libc-musl = " ac_cv_func_strtod_l=no"
+
do_make_icudata_class-target () {
rm -rf ${S}/data
cp -a ${WORKDIR}/data ${S}
--
2.26.0