diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-23 11:58:49 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-23 11:58:49 +0000 |
commit | 5cf1d1f16c1401220ecaa7b3127343c7c6c095d2 (patch) | |
tree | 54b9a35ecbdce7afc4cae82642d6de2a4a7e0d11 /jpl/JNI | |
parent | c1f7b11a6702e2397d89f7692c76fed567098176 (diff) | |
download | perl-5cf1d1f16c1401220ecaa7b3127343c7c6c095d2.tar.gz |
Introduce $Config{ldlibpthname} which contains
the name of the environment variable holding the
dynamic library search path, often LD_LIBRARY_PATH.
Use this new feature all over.
Also removed remnants of admonition "add LD_LIBRARY_PATH
before running make" because Makefile.SH does this for you.
p4raw-id: //depot/cfgperl@3725
Diffstat (limited to 'jpl/JNI')
-rw-r--r-- | jpl/JNI/JNI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jpl/JNI/JNI.pm b/jpl/JNI/JNI.pm index 455a130d9f..82bedf9c62 100644 --- a/jpl/JNI/JNI.pm +++ b/jpl/JNI/JNI.pm @@ -229,7 +229,7 @@ if (not $JPL::_env_) { $ENV{THREADS_TYPE} ||= "green_threads"; $JAVALIB = "$ENV{JAVA_HOME}/lib/$arch/$ENV{THREADS_TYPE}"; - $ENV{LD_LIBRARY_PATH} .= ":$JAVALIB"; + $ENV{$Config{ldlibpthname}":$JAVALIB"; $JVM = GetJavaVM("$JAVALIB/libjava.so",@JVM_ARGS); } |