I use JNAerator to create a single jar file that I can include in a project, and I would like to maintain dynamic libraries for each operating system and create everything in this single bank.
While I am working with JNAerator, I was able to enable one dynamic library using the following command:
java -jar jnaerator.jar test.dll test.h [...] -mode StandaloneJar
However, it only packages test.dll, while I have DLLs for several systems ( test_win32.dll, test_win64.dll, libtest_mac.dylib, libtest_linux_x86.soand libtest_linux_amd64.so) that I'd like to see all packed and maintained a jar.
Is there a way to make this all-in-one approach with a single JNAerator run, or do I need to create a different jar file for each platform?
source
share