-
Notifications
You must be signed in to change notification settings - Fork 922
Closed
Milestone
Description
I tried to compile under MacOS X and fix the problems, but there was too many and I just decided to stop and report the issue and some insight of what I've done so far. Basically, I got it compiling, but tests fail or cause mono to crash. To compile, make these changes, by editing your existing *nix toolchain (build.libgit2sharp.sh & CI-build.msbuild) or create new ones just for mac:
- You need to use
DYLD_FALLBACK_LIBRARY_PATHwhen adding native binaries to Mono's search path for MacOS X. - Need to compile libgit2 for 32-bit instead of 64-bit, since the Mono release package for MacOS X is 32-bit only. That or compile your own version of Mono targeting 64-bit.
- Not sure if this is still needed, but I did it anyways, create a config file so you can set a dllmap. On MacOS X, native binaries end with .dylib instead of .so.
- You may need to modify how some files are copied around during the build process as well.
After that, it should compile and run the tests, where you'll see the failing tests.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels