The problem I'm finding is my C code cannot be written generically / independent of the java code, in that the C function names must reflect package, class name, etc that calls into it.Which are in a Java class with native method declarations that you should also be providing. Your third party developers call methods in your Java class. There's no reason to keep changing its package name. As a matter of fact and good engineering, they should be calling Java methods in that class, which in turn call your own native methods, which should be private: that way you can decouple your interface from your implementation.
So how do I do what you suggest, which is distributing a generic native binary which is java package / class agnostic?Just stop changing the package name.
874577 wrote:That isn't possible.
That's what I'm trying to do - distribute only the binary native library to those using the game engine.