solaris11: set_soenv.in: fix Solaris JDK include path:

Solaris 11 has JDK with no libmawt.so in motif21 directory, so breaks in bean;
 the libmawt.so in headless does not work, so use the xawt directory instead.
 xawt/libmawt.so seems to exist in JDKs since 1.5.0.
This commit is contained in:
Michael Stahl 2011-03-28 10:34:17 +00:00
parent ef9a068d32
commit 4bd9ea1f76

View file

@ -214,7 +214,7 @@ if ( $platform =~ m/solaris/ )
$CPU = "I";
$CPUNAME = "INTEL";
$JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
$JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."motif21";
$JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."xawt";
$JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
}
@ -230,7 +230,7 @@ if ( $platform =~ m/solaris/ )
$CPU = "S";
$CPUNAME = "SPARC";
$JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."sparc";
$JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."sparc".$ds."motif21";
$JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."sparc".$ds."xawt";
$JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."sparc".$ds."native_threads";
}