]> git.pld-linux.org Git - packages/openjdk11.git/blame - libpath.patch
up to 11.0.23
[packages/openjdk11.git] / libpath.patch
CommitLineData
7ac98338
JP
1--- jdk9u-jdk-9.0.4+12/src/hotspot/os/linux/os_linux.cpp.orig 2020-08-16 13:46:08.240275890 +0200
2+++ jdk9u-jdk-9.0.4+12/src/hotspot/os/linux/os_linux.cpp 2020-08-16 13:47:54.932632691 +0200
4406c94a
JP
3@@ -289,17 +289,10 @@
4 // 1: ...
2692550d
JP
5 // ...
6 // 7: The default directories, normally /lib and /usr/lib.
4406c94a 7-#if defined(AMD64) || (defined(_LP64) && defined(SPARC)) || defined(PPC64) || defined(S390)
2692550d 8- #define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
4406c94a 9+#if defined(AMD64) || (defined(_LP64) && defined(SPARC)) || defined(PPC64) || defined(S390) || defined(AARCH64)
2692550d 10+ #define DEFAULT_LIBPATH "/usr/lib64/java:/usr/lib64:/lib64:/lib:/usr/lib"
ce94f011 11 #else
4406c94a
JP
12-#if defined(AARCH64)
13- // Use 32-bit locations first for AARCH64 (a 64-bit architecture), since some systems
14- // might not adhere to the FHS and it would be a change in behaviour if we used
15- // DEFAULT_LIBPATH of other 64-bit architectures which prefer the 64-bit paths.
16- #define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/lib64:/lib64"
17-#else
2692550d 18- #define DEFAULT_LIBPATH "/lib:/usr/lib"
4406c94a 19-#endif // AARCH64
2692550d 20+ #define DEFAULT_LIBPATH "/usr/lib/java:/lib:/usr/lib"
ce94f011
JK
21 #endif
22
23 // Base path of extensions installed on the system.
This page took 0.514936 seconds and 5 git commands to generate.