[9] RFR: Static build of libzip is missing JNI_OnLoad_zip entry point
Gary Adams
gary.adams at oracle.com
Wed May 25 16:01:41 UTC 2016
This fix will not work for the macosx static build.
e.g. configure --enable-static-build=yes
When linking static libraries the entry point for
JNI_OnLoad_zip is needed to inform the symbol lookups
to be performed on the current executable,
rather than a dynamic library.
On 05/24/16 19:47, Naoto Sato wrote:
> Hello,
>
> The previous attempt to fix this one failed in the installer build, as
> it does not recognize the added macro. I've updated the fix to add
> extra check for static build (yeah, this is redundant with the real
> jni_util.h, but effectively avoid the installer build failure).
>
> http://cr.openjdk.java.net/~naoto/8150179/webrev.01/
>
> Please review.
>
> Naoto
More information about the core-libs-dev
mailing list