diff options
-rw-r--r-- | INSTALL | 5 | ||||
-rw-r--r-- | jpl/JNI/JNI.pm | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -563,9 +563,10 @@ You can elect to build a shared libperl by To build a shared libperl, the environment variable controlling shared library search (LD_LIBRARY_PATH in most systems, DYLD_LIBRARY_PATH for -NeXTSTEP/OPENSTEP, LIBRARY_PATH for BeOS) must be set up to include +NeXTSTEP/OPENSTEP/Rhapsody, LIBRARY_PATH for BeOS, SHLIB_PATH for +HP-UX, LIBPATH for AIX, PATH for cygwin32) must be set up to include the Perl build directory because that's where the shared libperl will -be created. Configure arranges Makefile to have the correct shared +be created. Configure arranges Makefile to have the correct shared library search settings. However, there are some special cases where manually setting the diff --git a/jpl/JNI/JNI.pm b/jpl/JNI/JNI.pm index 82bedf9c62..45a92df8d9 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{$Config{ldlibpthname}":$JAVALIB"; + $ENV{$Config{ldlibpthname}} .= ":$JAVALIB"; $JVM = GetJavaVM("$JAVALIB/libjava.so",@JVM_ARGS); } |