Integrated: 8333301: Remove static builds using --enable-static-build

Magnus Ihse Bursie ihse at openjdk.org
Mon Jun 3 10:07:05 UTC 2024


On Thu, 30 May 2024 19:14:43 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The original way of building static libraries in the JDK was to use the configure argument --enable-static-build, which set the value of the make variable STATIC_BUILD. (Note that this is not the same as the source code definition STATIC_BUILD, which will be set by other means as well.)
> 
> This method only ever worked on macOS, and has long since stopped working. It was originally introduced for the Mobile Project, but I've now learn that not even they use it anymore.
> 
> It just adds clutter to the build system, and should be removed.

This pull request has now been integrated.

Changeset: f0bffbce
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f0bffbce35bb06e724857e8651dd429c4f9df284
Stats:     218 lines in 14 files changed: 4 ins; 206 del; 8 mod

8333301: Remove static builds using --enable-static-build

Reviewed-by: sgehwolf, erikj

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

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


More information about the build-dev mailing list