RFR: Add support for AIX in build process [v3]
Suchismith Roy
sroy at openjdk.org
Thu Dec 4 13:57:04 UTC 2025
On Thu, 4 Dec 2025 10:12:52 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> I'm confused, that patch has a test that shows loading a library through `System.loadLibrary` working, and I remember seeing those patches in the JDK, and thought `loadLibrary` support was working on AIX as well now. Why doesn't that work for clang? Is it possible to change the way you're building clang to not use an archive member?
>
> Otherwise, if `loadLibrary` needs to be used, I think the resolution of the library should be done relative to `System.getProperty("java.home")` and then I suppose jlink puts the library under `lib`.
The test is for cases where we do not refer to shared members and just dynamic libraries with .an extension.
To refer shared members one needs to give full path using System.load.
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/297#discussion_r2589180310
More information about the jextract-dev
mailing list