RFR: 8329704: Implement framework for proper handling of JDK_LIBS [v2]

Magnus Ihse Bursie ihse at openjdk.org
Fri Apr 5 14:14:35 UTC 2024


> This is the pinnacle of the recent stream of refactorings in the build system. This patch introduces a more abstract concept of "JDK_LIBS", where only the library name (e.g. "java" or "java.desktop:jawt") is specified, and the build system turns this into suitable linker flags: `-ljawt -L<correct path>` or `jawt.lib -libpath:<correct path>`, depending on linker. It will also automatically create proper dependencies.

Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:

  Fix libfallbackLinker

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18649/files
  - new: https://git.openjdk.org/jdk/pull/18649/files/cdee250d..6e737795

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18649&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18649&range=00-01

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18649.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18649/head:pull/18649

PR: https://git.openjdk.org/jdk/pull/18649


More information about the build-dev mailing list