summaryrefslogtreecommitdiff
path: root/user/openjdk8/icedtea-jdk-fix-libjvm-load.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-24 04:23:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-03-24 04:23:39 +0000
commitb76feb56976cf8c06b8d6d3b797a8415b5ccb453 (patch)
treed6f69724d050abf075b2236f9578f8728673a255 /user/openjdk8/icedtea-jdk-fix-libjvm-load.patch
parent47f49a1accf187c4800566c10ce163b98ef5b149 (diff)
downloadpackages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.tar.gz
packages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.tar.bz2
packages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.tar.xz
packages-b76feb56976cf8c06b8d6d3b797a8415b5ccb453.zip
user/openjdk8: new package
Diffstat (limited to 'user/openjdk8/icedtea-jdk-fix-libjvm-load.patch')
-rw-r--r--user/openjdk8/icedtea-jdk-fix-libjvm-load.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/openjdk8/icedtea-jdk-fix-libjvm-load.patch b/user/openjdk8/icedtea-jdk-fix-libjvm-load.patch
new file mode 100644
index 000000000..d0a090ea5
--- /dev/null
+++ b/user/openjdk8/icedtea-jdk-fix-libjvm-load.patch
@@ -0,0 +1,14 @@
+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;