HomePhabricator

[cmake] Properly locate the linker when cross building for OSX

Description

[cmake] Properly locate the linker when cross building for OSX

Summary: This fixes the build when FORCE_USE_SYSTEM_CLANG is set.

Test Plan:

cd depends
FORCE_USE_SYSTEM_CLANG=1 make build-osx
cd ..
mkdir buildOSX
cd buildOSX
cmake -GNinja .. -DCMAKE_TOOLCHAIN_PATH=../cmake/platforms/OSX.cmake
ninja

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D15584

Details

Provenance
FabienAuthored on Feb 29 2024, 15:12
FabienPushed on Feb 29 2024, 15:28
Reviewer
Restricted Project
Differential Revision
D15584: [cmake] Properly locate the linker when cross building for OSX
Parents
rABCfa45c68ddfc6: [Cashtab] Clean up mock files and standardize mock imports for component…
Branches
Unknown
Tags
Unknown