NDK Release 14 Beta 1 (3529234)
Disgusting hack: LLVMgold.dylib -> LLVMgold.so.

Yes, Darwin binaries should be .dylib, but the original LTO code that
was submitted to LLVM apparently didn't know that so it `dlopen`s the
.so even on Darwin and Windows.

LTO on Darwin somewhat works (works for shared libraries, anyway) if
we just rename it, so do that until we can fix LLVM correctly.

Test: ndk/run_tests.py --filter flto
Bug: https://github.com/android-ndk/ndk/issues/108
Change-Id: I01dc60da6431e9730dec352f80c04563fbe5e8d2
(cherry picked from commit 5b36292c9f1fe9ae37c38d158d94526f0d88486d)
1 file changed