]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #98880 - topjohnwu:macos-dylib-cross, r=jyn514
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 5 Jul 2022 21:43:32 +0000 (23:43 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Jul 2022 21:43:32 +0000 (23:43 +0200)
commit3fe0191df87f34607b356d6e88b86922c6ee7fd7
tree5f5359c5b0daaae2b1c033484fc803d711e136fb
parent4986379d7910d4f87beb2a4a0d17127cc074df0e
parent22b4ea4813a7aa5fc2ee454fca50853fdc47ba3e
Rollup merge of #98880 - topjohnwu:macos-dylib-cross, r=jyn514

Proper macOS libLLVM symlink when cross compiling

Follow up of #98418

When cross compiling on macOS with `llvm.link-shared` enabled, the symlink creation will fail after compiling LLVM for the target architecture, because it will attempt to create the symlink in the host LLVM directory, which was already created when being built.

This commit changes the symlink path to the actual LLVM output.

r? `@jyn514`