build & package libZeroTierOneSDK.jnilib on Mac oS

Signed-off-by: Grant Limberg <glimberg@gmail.com>
This commit is contained in:
Grant Limberg 2015-05-04 20:04:44 -07:00
parent af66f14761
commit e28712555d
4 changed files with 37 additions and 2 deletions

View file

@ -47,8 +47,10 @@ public class Node {
} else {
NativeUtils.loadLibraryFromJar("/lib/ZeroTierOneJNI_win32.dll");
}
} else if(System.getProperty("os.name").startsWith("Mac")) {
NativeUtils.loadLibraryFromJar("/lib/libZeroTierOneJNI.jnilib");
} else {
// TODO: Mac
// TODO: Linux
}
} catch (IOException ioe) {
ioe.printStackTrace();