Skip to content

Allow native library dependencies to be loaded from nuget runtime folders#11

Open
mjjames wants to merge 2 commits intomellinoe:masterfrom
mjjames:master
Open

Allow native library dependencies to be loaded from nuget runtime folders#11
mjjames wants to merge 2 commits intomellinoe:masterfrom
mjjames:master

Conversation

@mjjames
Copy link
Contributor

@mjjames mjjames commented Oct 30, 2018

Fixes #10
I have written a test but as its a thrid party Nuget thats not in the open I can't submit it with it. It's a fairly simple change however.
Unless you know of any nuget's with native runtime libraries that have dependencies in the same folder....

mellinoe and others added 2 commits October 30, 2018 16:32
…ts distributed within the same runtime folder ensure the directory the nativelibrary is loaded from is checked before carrying on down the usual search path.
@mellinoe
Copy link
Owner

mellinoe commented Nov 4, 2018

@mjjames Thanks for the submission. It seems like this will work for Windows, but not elsewhere. Reading around, it seems like there could be a similar problem on other platforms. Is there a way to fix this for the libdl-based loader?

@mjjames
Copy link
Contributor Author

mjjames commented Nov 5, 2018

I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments