aboutsummaryrefslogtreecommitdiff
path: root/java/jdk13/files
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-01-19 19:28:40 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-01-19 19:28:40 +0000
commit21c8a9307ff2db131e7b3f0ecd6b8cc9a03f6991 (patch)
tree3449612acb9d246199f067520b3712da6945017c /java/jdk13/files
parentd278524c300d2245426d99f12eee7a8188e1bebe (diff)
downloadports-21c8a9307ff2db131e7b3f0ecd6b8cc9a03f6991.tar.gz
ports-21c8a9307ff2db131e7b3f0ecd6b8cc9a03f6991.zip
. Add ${LOCALBASE}/lib to the default search path for libraries when using
JNI. XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also be added? /lib is part of the default search path on Linux. Requested by: marcus
Notes
Notes: svn path=/head/; revision=98578
Diffstat (limited to 'java/jdk13/files')
-rw-r--r--java/jdk13/files/patch-javai_md.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-javai_md.c b/java/jdk13/files/patch-javai_md.c
new file mode 100644
index 000000000000..5a70733cc80c
--- /dev/null
+++ b/java/jdk13/files/patch-javai_md.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../src/solaris/javavm/runtime/javai_md.c 24 Jul 2003 07:06:56 -0000 1.7
++++ ../src/solaris/javavm/runtime/javai_md.c 15 Jan 2004 07:37:23 -0000
+@@ -137,7 +137,7 @@
+ #ifdef __linux__
+ #define DEFAULT_LD_LIBRARY_PATH "/usr/lib:/lib" /* See ld.so(8) */
+ #else
+-#define DEFAULT_LD_LIBRARY_PATH "/usr/lib" /* See ld.so.1(1) */
++#define DEFAULT_LD_LIBRARY_PATH "/usr/lib:%%LOCALBASE%%/lib" /* See ld.so.1(1) */
+ #endif
+ {
+ /* Get the user setting of LD_LIBRARY_PATH */