summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL5
-rw-r--r--jpl/JNI/JNI.pm2
2 files changed, 4 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index cfed2998b2..cb59f7f8c2 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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);
}