]> git.pld-linux.org Git - packages/openjdk8.git/blame - libpath.patch
up to 1.8.0.402
[packages/openjdk8.git] / libpath.patch
CommitLineData
ce94f011
JK
1diff -dur -x '*~' -x '*.orig' -x '*.rej' jdk8u-jdk8u66-b02.orig/hotspot/src/os/linux/vm/os_linux.cpp jdk8u-jdk8u66-b02/hotspot/src/os/linux/vm/os_linux.cpp
2--- jdk8u-jdk8u66-b02.orig/hotspot/src/os/linux/vm/os_linux.cpp 2015-07-22 19:12:56.000000000 +0200
3+++ jdk8u-jdk8u66-b02/hotspot/src/os/linux/vm/os_linux.cpp 2015-09-18 12:54:54.000000000 +0200
4@@ -309,9 +309,9 @@
5 // ...
6 // 7: The default directories, normally /lib and /usr/lib.
c296b123 7-#if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390))
ce94f011 8-#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
c296b123 9+#if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390)) || defined(AARCH64)
ce94f011
JK
10+#define DEFAULT_LIBPATH "/usr/lib64/java:/usr/lib64:/lib64:/lib:/usr/lib"
11 #else
12-#define DEFAULT_LIBPATH "/lib:/usr/lib"
13+#define DEFAULT_LIBPATH "/usr/lib/java:/lib:/usr/lib"
14 #endif
15
16 // Base path of extensions installed on the system.
This page took 0.216613 seconds and 4 git commands to generate.