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
$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);
}