libgit2 / libgit2sharp.nativebinaries

MIT License
29 stars 63 forks source link

Change native path to 'lib' #37

Closed ethomson closed 8 years ago

ethomson commented 8 years ago

Mono tries to prepend lib to the path when it doesn't exist, without examining whether its a directory or a file.

So if our native libraries are in NativeBinaries/linux/libgit2.so, it will try to load libNativeBinaries/linux/libgit2.so. Changing our directory name to lib will prevent this ridiculousness.

This also updates the architecture names to be more in line with the names that their respective operating systems use.

Finally, update to 36fc25572ca042372b1a58f07bc721b2b827e8be

bording commented 8 years ago

Awesome, I was just getting ready to make the same changes, since it really is the best way to work around mono's weird behavior.

Seeing win32\x64 does look a bit odd, though.

ethomson commented 8 years ago

I'm going to go ahead and merge this so that I can get some packages built to test.