Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Jul 13, 2024
2 parents ed3468b + 166262b commit 946cfec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IKVM.Runtime/LibIkvm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static nint LoadImpl(string nameOrPath)
return Externs.IKVM_dl_open(nameOrPath);
}
#else
return System.Runtime.InteropServices.NativeLibrary.TryLoad(nameOrPath, out var h) ? h : 0;
return System.Runtime.InteropServices.NativeLibrary.TryLoad(nameOrPath, typeof(LibIkvm).Assembly, null, out var h) ? h : 0;
#endif
}

Expand Down

0 comments on commit 946cfec

Please sign in to comment.