This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change #3725 aftershock.
[perl5.git] / jpl / JNI / JNI.pm
index 82bedf9..45a92df 100644 (file)
@@ -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);
 }