Mercurial > hg > release > icedtea6-1.2
view patches/icedtea-lib64.patch @ 830:d72c26939d8a
2008-04-21 Lillian Angel <langel@redhat.com>
* patches/icedtea-lib64.patch: Fixed order of library paths on 64-bit.
* generated/*: Regenerated.
author | Lillian Angel <langel@redhat.com> |
---|---|
date | Mon, 21 Apr 2008 14:06:06 -0400 |
parents | 7676131f9e83 |
children | 87ee93ad7e38 |
line wrap: on
line source
--- origopenjdk/hotspot/src/os/linux/vm/os_linux.cpp 2008-01-04 18:11:53.000000000 -0500 +++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2008-04-21 14:00:59.000000000 -0400 @@ -265,7 +265,12 @@ * ... * 7: The default directories, normally /lib and /usr/lib. */ -#define DEFAULT_LIBPATH "/lib:/usr/lib" + +#if defined(AMD64) || defined(_LP64) && (defined(PPC) || defined(S390)) +#define DEFAULT_LIBPATH "/usr/lib64:/lib64:/usr/local/lib64:/lib:/usr/lib:/usr/local/lib" +#else +#define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/local/lib" +#endif #define EXTENSIONS_DIR "/lib/ext" #define ENDORSED_DIR "/lib/endorsed"