RFR: 8351323: Parameterize compiler and linker flags for iconv
snake66
duke at openjdk.org
Wed Mar 12 12:26:53 UTC 2025
On Wed, 12 Mar 2025 12:15:18 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> > Another way to phrase this is perhaps: "why don't we need iconv on linux?"
>
> I googled this and can answer it myself: because `iconv()` is built into glibc.
Yes, that's what I came to as well. Sorry I didn't include that info in the original description. It seems to be even more complicated on some platforms, where there _is_ built in support for iconv (or a system supplied libiconv), but with limitations so that you may want to prefer the GNU libiconv in any case.
I think we should be able to configure these cases properly also with the proposed changes.
I'll update the PR as outlined in the previous comments.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23995#issuecomment-2717713872
More information about the build-dev
mailing list