summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2022-05-04 09:26:18 +0200
committerMichal Klocek <michal.klocek@qt.io>2022-05-05 06:35:04 +0000
commit558c604d1f7cb4c9633a2d47039cd79e9d904d54 (patch)
tree97f3ee906ab3662f7fecd8149e657a8976fed8d0
parent1daa08b4fafc0d0f76eab7abbc93e1ce31db23f4 (diff)
downloadqtwebengine-chromium-558c604d1f7cb4c9633a2d47039cd79e9d904d54.tar.gz
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 <allan.jensen@qt.io> (cherry picked from commit 85721d41676ea7a05a7701b7574103212cacc87e) Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r--chromium/build/toolchain/mac/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/build/toolchain/mac/BUILD.gn b/chromium/build/toolchain/mac/BUILD.gn
index a2d6d578830..ffd039a4f18 100644
--- a/chromium/build/toolchain/mac/BUILD.gn
+++ b/chromium/build/toolchain/mac/BUILD.gn
@@ -163,7 +163,7 @@ template("mac_toolchain") {
}
linker_driver =
- "TOOL_VERSION=${tool_versions.linker_driver} " +
+ "TOOL_VERSION=${tool_versions.linker_driver} " + python_path + " " +
rebase_path("//build/toolchain/mac/linker_driver.py", root_build_dir)
# Specify an explicit path for the strip binary.