]> git.pld-linux.org Git - packages/openjdk11.git/blob - libpath.patch
up to 11.0.13
[packages/openjdk11.git] / libpath.patch
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
3 @@ -289,17 +289,10 @@
4    //        1: ...
5    //        ...
6    //        7: The default directories, normally /lib and /usr/lib.
7 -#if defined(AMD64) || (defined(_LP64) && defined(SPARC)) || defined(PPC64) || defined(S390)
8 -  #define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
9 +#if defined(AMD64) || (defined(_LP64) && defined(SPARC)) || defined(PPC64) || defined(S390) || defined(AARCH64)
10 +  #define DEFAULT_LIBPATH "/usr/lib64/java:/usr/lib64:/lib64:/lib:/usr/lib"
11  #else
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
18 -  #define DEFAULT_LIBPATH "/lib:/usr/lib"
19 -#endif // AARCH64
20 +  #define DEFAULT_LIBPATH "/usr/lib/java:/lib:/usr/lib"
21  #endif
22  
23  // Base path of extensions installed on the system.
This page took 0.062589 seconds and 4 git commands to generate.