aboutsummaryrefslogblamecommitdiffstats
path: root/community/openjdk8/icedtea-jdk-fix-libjvm-load.patch
blob: d0a090ea57130e0a13cbce38f0d3fe1f539c87db (plain) (tree)
1
2
3
4
5


                                                                                

                                                      








                                                                                       
musl needs LD_LIBRARY_PATH set because when .so is opened with dlopen(/abs/path)
it does not qualify for providing symbols for NEEDED dependency.

--- openjdk.orig/jdk/src/solaris/bin/java_md_solinux.c
+++ openjdk/jdk/src/solaris/bin/java_md_solinux.c
@@ -291,6 +291,8 @@
     char *dmllp = NULL;
     char *p; /* a utility pointer */
 
+    return JNI_TRUE;
+
 #ifdef AIX
     /* We always have to set the LIBPATH on AIX because ld doesn't support $ORIGIN. */
     return JNI_TRUE;