native-lib-loader
native-lib-loader copied to clipboard
Extract all native dependencies together with target library
I am trying to work with a native library which depends on another (native) library. But only the "toplevel" library gets extracted, and therefore the whole load fails.
Is there a way to resolve this native dependency problem?
If not, I suggest one of the following approaches:
- extract all the files (for given platform) when any of them is requested
- use a dependency mapping (perhaps somewhere in META-INF) to extract the required minimum of libraries to load
Any comments? I am going to implement any of these approaches, please LMK if there is any existing solution to this problem.