Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix formatting
  • Loading branch information
hubertp committed Oct 24, 2025
commit 16776170639bf8ffa4a375d792451b9628d80635
5 changes: 2 additions & 3 deletions src/main/java/org/duckdb/DuckDBNative.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class DuckDBNative {
}

private static void loadLibraryFromFile(String libname) {
String full_libname = "lib" + libname;
String full_libname = "lib" + libname;
String lib_suffix = ".so";
String os_name = "";
String os_arch;
Expand Down Expand Up @@ -53,8 +53,7 @@ private static void loadLibraryFromFile(String libname) {
} else if (os_name_detect.startsWith("linux")) {
os_name = "linux";
}
String lib_res_name = "/" + full_libname + lib_suffix
+ "_" + os_name + "_" + os_arch;
String lib_res_name = "/" + full_libname + lib_suffix + "_" + os_name + "_" + os_arch;
try {
Path lib_file = Files.createTempFile(full_libname, lib_suffix);
URL lib_res = DuckDBNative.class.getResource(lib_res_name);
Expand Down