Don't need native library stuff any longer.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@976 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -34,23 +34,6 @@ if (! -d $jhome) {
|
|||||||
my $java = "$jhome/bin/java";
|
my $java = "$jhome/bin/java";
|
||||||
my $jlib = "$jhome/lib/classes.zip";
|
my $jlib = "$jhome/lib/classes.zip";
|
||||||
|
|
||||||
# determine our machine architecture
|
|
||||||
my $ostype = `uname -s`;
|
|
||||||
my $machtype = `uname -m`;
|
|
||||||
chomp($ostype);
|
|
||||||
chomp($machtype);
|
|
||||||
my $arch = "$machtype-$ostype";
|
|
||||||
|
|
||||||
# add our native libraries to the runtime library path
|
|
||||||
my $libs = "$root/lib/$arch";
|
|
||||||
my $libpath = $ENV{"LD_LIBRARY_PATH"};
|
|
||||||
|
|
||||||
if (defined $libpath) {
|
|
||||||
$ENV{"LD_LIBRARY_PATH"} = "$libs:$libpath";
|
|
||||||
} else {
|
|
||||||
$ENV{"LD_LIBRARY_PATH"} = $libs;
|
|
||||||
}
|
|
||||||
|
|
||||||
# put everything in our class path
|
# put everything in our class path
|
||||||
my $classpath = "-classpath $root/dist/classes";
|
my $classpath = "-classpath $root/dist/classes";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user