comparison src/os/linux/vm/os_linux.cpp @ 509:9656bebe85a7

6778662: fixes 64-bits libraries directory search paths on linux Summary: Fixes 64-bits libraries directory search paths. Reviewed-by: never Contributed-by: langel@redhat.com
author kvn
date Mon, 22 Dec 2008 16:53:34 -0800
parents 24fda36852ce
children fc7ab6287598
comparison
equal deleted inserted replaced
508:6d8fc951eb25 509:9656bebe85a7
277 * shared libraries: 277 * shared libraries:
278 * 1: ... 278 * 1: ...
279 * ... 279 * ...
280 * 7: The default directories, normally /lib and /usr/lib. 280 * 7: The default directories, normally /lib and /usr/lib.
281 */ 281 */
282 #if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390))
283 #define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
284 #else
282 #define DEFAULT_LIBPATH "/lib:/usr/lib" 285 #define DEFAULT_LIBPATH "/lib:/usr/lib"
286 #endif
283 287
284 #define EXTENSIONS_DIR "/lib/ext" 288 #define EXTENSIONS_DIR "/lib/ext"
285 #define ENDORSED_DIR "/lib/endorsed" 289 #define ENDORSED_DIR "/lib/endorsed"
286 #define REG_DIR "/usr/java/packages" 290 #define REG_DIR "/usr/java/packages"
287 291