On AIX, we need a static libjli, since the linker cannot find other libraries (like libjvm.so and libjava.so) using a relative path, as on other platforms.
However, for reasons unclear, we still build a dynamic libjli.so on AIX, even though this is never used. Instead, we also build a static libjli_static.a library (which is then forced to have a different name as to not collide with the dynamic library). This should be fixed. We should build exactly one libjli on all platforms, be it static or dynamic. ------------- Commit messages: - 8329131: Fold libjli_static back into libjli on AIX Changes: https://git.openjdk.org/jdk/pull/18497/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18497&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8329131 Stats: 49 lines in 7 files changed: 10 ins; 30 del; 9 mod Patch: https://git.openjdk.org/jdk/pull/18497.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18497/head:pull/18497 PR: https://git.openjdk.org/jdk/pull/18497