diff --git a/lang/perl/files/libc.config b/lang/perl/files/libc.config index 1bfd93f76..2c355a3ce 100644 --- a/lang/perl/files/libc.config +++ b/lang/perl/files/libc.config @@ -12,6 +12,10 @@ } ($owrt:libc eq 'musl') { + # musl does not provide a working setlocale(). It accepts arbitrary locales + # and makes them act as if they were C.UTF-8. + d_setlocale='undef' + d_stdio_ptr_lval='undef' d_stdio_ptr_lval_sets_cnt='undef' d_stdiobase='undef'