diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-01-19 20:38:23 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-01-19 20:38:23 +0000 |
commit | d0903cc2f9f9c9914cee612fb60af1c96fe5b3cf (patch) | |
tree | 2c7b40d0cb92e1fe4b807a3a5daeb2ae12ff0cb8 /java/jdk12/files/patch-javai_md.c | |
parent | Add krefty 0.2, (diff) |
. 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
Diffstat (limited to 'java/jdk12/files/patch-javai_md.c')
-rw-r--r-- | java/jdk12/files/patch-javai_md.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk12/files/patch-javai_md.c b/java/jdk12/files/patch-javai_md.c new file mode 100644 index 000000000000..a3dde4d9de48 --- /dev/null +++ b/java/jdk12/files/patch-javai_md.c @@ -0,0 +1,13 @@ +$FreeBSD$ + +--- ../../src/bsd/javavm/runtime/javai_md.c Mon Jan 19 12:37:59 2004 ++++ ../../src/bsd/javavm/runtime/javai_md.c Mon Jan 19 12:32:23 2004 +@@ -147,7 +147,7 @@ + } + + /* Where to look for native libraries */ +-#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) */ + { + /* Get the user setting of LD_LIBRARY_PATH */ + v = getenv("LD_LIBRARY_PATH"); |