Skip to content

Commit

Permalink
added qualifier to NativeLoader extract path
Browse files Browse the repository at this point in the history
  • Loading branch information
redrezo committed Jul 28, 2020
1 parent 2077a31 commit 214d1cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void loadLibrary(Class<?> context, String libname) {

String filename = getFilename(libname);
Path tmpDir = Paths.get(System.getProperty("java.io.tmpdir"));
Path extractPath = tmpDir.resolve("driftfx").resolve(Versioning.getVersion()).resolve(filename);
Path extractPath = tmpDir.resolve("driftfx").resolve(Versioning.getVersion() + "-" + Versioning.getQualifier()).resolve(filename);

String resourceName = "/native/" + filename;
URL url = context.getResource(resourceName);
Expand Down

0 comments on commit 214d1cf

Please sign in to comment.