[Integrated] RFR: 8244417: support static build for Windows
    Joeri Sykora 
    sykora at openjdk.java.net
       
    Tue May 12 14:12:16 UTC 2020
    
    
  
On Thu, 7 May 2020 21:15:02 GMT, Joeri Sykora <sykora at openjdk.org> wrote:
> Adds support for building static libraries of the OpenJFX modules for the Windows platform. Building static libraries
> is done by providing the gradle property `-PSTATIC_BUILD=true`.
> Changes include:
> 
> - add static flags for the compiler and linker
> - use `lib` for linking instead of `link`
> - only build and include version.rc once (from GlassResources.rc)
> - include library specific `JNI_OnLoad_xxx` methods
> - functionality loaded via `DllMain` has been implemented at a different location
This pull request has now been integrated.
Changeset: c14cc44e
Author:    Joeri Sykora <sykora at openjdk.org>
Committer: Johan Vos <jvos at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/c14cc44e
Stats:     83 lines in 9 files changed: 2 ins; 69 del; 12 mod
8244417: support static build for Windows
Reviewed-by: kcr, jvos
-------------
PR: https://git.openjdk.java.net/jfx/pull/214
    
    
More information about the openjfx-dev
mailing list