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

Magnus Ihse Bursie ihse at openjdk.org
Wed Apr 10 13:44:42 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:

  Clarify how JDK_LIBS affect other arguments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18649/files
  - new: https://git.openjdk.org/jdk/pull/18649/files/320f12d2..245663fc

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

  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 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