Skip to content

Commit

Permalink
Fixed incorrect Sparc path for Solaris library
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Dec 20, 2018
1 parent 5a6dbfd commit 62f5660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/fazecast/jSerialComm/SerialPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ else if ((OS.indexOf("sunos") >= 0) || (OS.indexOf("solaris") >= 0))
if (System.getProperty("os.arch").indexOf("64") >= 0)
libraryPath = (System.getProperty("os.arch").indexOf("sparc") >= 0) ? "Solaris/sparcv9_64" : "Solaris/x86_64";
else
libraryPath = (System.getProperty("os.arch").indexOf("sparc") >= 0) ? "Solaris/sparcv8_32" : "Solaris/x86";
libraryPath = (System.getProperty("os.arch").indexOf("sparc") >= 0) ? "Solaris/sparcv8plus_32" : "Solaris/x86";
isUnixBased = true;
fileName = "libjSerialComm.so";
}
Expand Down

0 comments on commit 62f5660

Please sign in to comment.