aports/testing/openjdk8/fix-libjvm-load.patch
Timo Teräs 166ad0377b testing/openjdk8: new aport
ref #4515

openjdk8 and openjdk7 cannot coexist currently due to automatic
so dependencies. both packages should be fixed to not provide
conflicting so deps (or maybe needs abuild change?)
2015-08-18 11:16:36 +02:00

15 lines
475 B
Diff

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.
--- src/jdk/src/solaris/bin/java_md_solinux.c.orig
+++ src/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;