OK that looks good - I can try to see if I need to update my scripts today. We make a few special patches to expose a few additional C methods to Java, so I’ll see what I can do.
jnilib is how shared libs get generated on a mac - although I think dylib will also work. Whatever you were doing before was fine