[native-library] If a dllimport is specified with an absolute path, look for it first...
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Tue, 25 Apr 2023 00:49:02 +0000 (20:49 -0400)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2023 00:49:02 +0000 (20:49 -0400)
commit41f6e792f3336b021cfaa4f429752b4cac38d064
treed18b35701967c963cafb176e3842a6b67e30fcbb
parent620b0db3a987bab2694a0043cacb3e2a86673df5
[native-library] If a dllimport is specified with an absolute path, look for it first (#85255)

The unmanaged native library probing documentation says to try
absolute paths without variations

https://learn.microsoft.com/en-us/dotnet/core/dependency-loading/default-probing#unmanaged-native-library-probing
src/mono/mono/metadata/native-library.c