RFR: 8351323: Parameterize compiler and linker flags for iconv

Magnus Ihse Bursie ihse at openjdk.org
Wed Mar 12 12:17:57 UTC 2025


On Wed, 12 Mar 2025 12:12:37 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. So then I guess it makes sense to add ICONV variables globally, and define it as empty on linux (and windows), where it is not needed to be specified as a separate library.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23995#issuecomment-2717689442


More information about the build-dev mailing list