Along with PR #13879, these patches let julia build and run on
darwin. Using an llvm with shared library support is an idea adopted from
a @pikajude comment here https://github.com/NixOS/nixpkgs/issues/10864
The libgit2 change is mechanical to pull in iconv on darwin.
The frameworks are referenced by julia's build system.