icu: Mark strtod_l unavailable on musl

Submitted by Khem Raj on April 4, 2020, 6:51 p.m. | Patch ID: 171670

Details

Message ID 20200404185159.3073750-1-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj April 4, 2020, 6:51 p.m.
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(+)

Patch hide | download patch | download mbox

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}