-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NarSystemMojo: use native-lib-loader when it is a dependency
When the native-lib-loader (https://github.com/scijava/native-lib-loader, a library for unpacking and loading native libraries conveniently) is among the dependencies, we should make use of it. The current version of native-lib-loader (2.0.2) unfortunately expects the native library to be bundled in a non-standard place, hence we have to copy the library there. To support the file layout produced by the NAR plugin, this uses DefaultJniExtractor#extractJni directly instead of handing off to NativeLibraryUtil (which would expect the bundled native libraries in a different path). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
- Loading branch information
Showing
1 changed file
with
121 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters