diff options
author | Richard Leach <rich+perl@hyphen-dash-hyphen.info> | 2019-05-19 03:50:37 +0000 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-24 17:09:30 -0600 |
commit | 734a50c78631a0b2dcdb36e690dcad4e7f49a21e (patch) | |
tree | 86d9e9d8c29943f47ea8aef207149fb80f83f067 /hints/linux-android.sh | |
parent | a04a75f20f03aa08ce8118b3b0b3f93eb3e997c5 (diff) | |
download | perl-734a50c78631a0b2dcdb36e690dcad4e7f49a21e.tar.gz |
Modern Androids do support locales
Diffstat (limited to 'hints/linux-android.sh')
-rw-r--r-- | hints/linux-android.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/hints/linux-android.sh b/hints/linux-android.sh index 6a59cb726e..626c0b4e48 100644 --- a/hints/linux-android.sh +++ b/hints/linux-android.sh @@ -30,13 +30,15 @@ esac # Make sure that we look for libm libswanted="$libswanted m" -# Down with locales! +# Older Androids lack locale support and may need the following undefs +# uncommenting. This isn't necessary from at least Android 8.1 (Oreo) # https://github.com/android/platform_bionic/blob/master/libc/CAVEATS -d_locconv='undef' -d_setlocale='undef' -d_setlocale_r='undef' -d_lc_monetary_2008='undef' -i_locale='undef' +#d_locconv='undef' +#d_setlocale='undef' +#d_setlocale_r='undef' +#d_lc_monetary_2008='undef' +#i_locale='undef' +#d_newlocale='undef' # https://code.google.com/p/android-source-browsing/source/browse/libc/netbsd/net/getservent_r.c?repo=platform--bionic&r=ca6fe7bebe3cc6ed7e2db5a3ede2de0fcddf411d#95 d_getservent_r='undef' |