RFR: Add support for AIX in build process [v3]
Suchismith Roy
sroy at openjdk.org
Thu Dec 4 14:05:44 UTC 2025
On Thu, 4 Dec 2025 13:53:51 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> 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.
> 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`.
Aren't the files copied from lib clang directory to lib under jextract folder? Hence I used user.dir, as the application runs there
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/297#discussion_r2589214429
More information about the jextract-dev
mailing list