hotspot/src/os/linux/vm/os_linux.cpp
changeset 1892 6cb9181f6061
parent 1889 24b003a6fe46
parent 1885 ae1dcaf4363f
child 2012 041fbc6030dd
--- a/hotspot/src/os/linux/vm/os_linux.cpp	Thu Jan 08 16:27:28 2009 -0500
+++ b/hotspot/src/os/linux/vm/os_linux.cpp	Fri Jan 09 14:39:07 2009 -0500
@@ -279,7 +279,11 @@
  *        ...
  *        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"
+#endif
 
 #define EXTENSIONS_DIR  "/lib/ext"
 #define ENDORSED_DIR    "/lib/endorsed"