Disable build, keep using prebuilt libraries and include them in the artifacts

This commit is contained in:
2016-08-10 13:22:07 +01:00
parent 6bff4bee90
commit ccc175dfc2
4 changed files with 11 additions and 8 deletions

View File

@@ -361,7 +361,8 @@ public class LibusbJava {
private static native int usb_error_no(int value);
static {
Native.load("com.github.boukefalos", "jlibusb");
Native.load("com.github.boukefalos", "jlibusb", "libusb0");
Native.load("com.github.boukefalos", "jlibusb");
// define the error codes
ERROR_SUCCESS = 0;