提交 6c1e579b 编写于 作者: K kvn

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
上级 a4bbf12d
...@@ -279,7 +279,11 @@ void os::init_system_properties_values() { ...@@ -279,7 +279,11 @@ void os::init_system_properties_values() {
* ... * ...
* 7: The default directories, normally /lib and /usr/lib. * 7: The default directories, normally /lib and /usr/lib.
*/ */
#if defined(AMD64) || defined(_LP64) && (defined(SPARC) || defined(PPC) || defined(S390))
#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib"
#else
#define DEFAULT_LIBPATH "/lib:/usr/lib" #define DEFAULT_LIBPATH "/lib:/usr/lib"
#endif
#define EXTENSIONS_DIR "/lib/ext" #define EXTENSIONS_DIR "/lib/ext"
#define ENDORSED_DIR "/lib/endorsed" #define ENDORSED_DIR "/lib/endorsed"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册