From f0151b67cfa35fdade501706aac9523e18b14228 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Mon, 4 Apr 2022 17:42:45 +0200 Subject: Fix mac toolchain python linker script call Do not call script directly as it has shabang with just 'python' and we want use same python interpreter as configured for gn. It fixes the issue when mac machine has only 'python3' interpreter installed and no 'python' symlink. Change-Id: If656453ade7c49d61edc90763a0b07f49483d129 Reviewed-by: Allan Sandfeld Jensen --- chromium/build/toolchain/apple/toolchain.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chromium/build/toolchain/apple/toolchain.gni b/chromium/build/toolchain/apple/toolchain.gni index 8527577fb4c..2a2f4e0e3ba 100644 --- a/chromium/build/toolchain/apple/toolchain.gni +++ b/chromium/build/toolchain/apple/toolchain.gni @@ -165,7 +165,7 @@ template("apple_toolchain") { } linker_driver = - "TOOL_VERSION=${tool_versions.linker_driver} " + + "TOOL_VERSION=${tool_versions.linker_driver} " + python_path + " " + rebase_path("//build/toolchain/apple/linker_driver.py", root_build_dir) # Specify an explicit path for the strip binary. -- cgit v1.2.1