Page MenuHomePhabricator

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

Authored by Fabien on Feb 29 2024, 15:12.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Feb 29 2024, 15:12
This revision is now accepted and ready to land.Feb 29 2024, 15:27
This revision was landed with ongoing or failed builds.Feb 29 2024, 15:28
This revision was automatically updated to reflect the committed changes.