Index: build/toolchain/gcc_toolchain.gni |
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni |
index d7286635a3d61e50b01f805e54d515422dd2df98..60aee313af4a054d9704e3628e9d8fb9ea6b48e6 100644 |
--- a/build/toolchain/gcc_toolchain.gni |
+++ b/build/toolchain/gcc_toolchain.gni |
@@ -387,7 +387,8 @@ template("gcc_toolchain") { |
# This needs a Python script to avoid using a complex shell command |
# requiring sh control structures, pipelines, and POSIX utilities. |
# The host might not have a POSIX shell and utilities (e.g. Windows). |
- solink_wrapper = rebase_path("//build/toolchain/gcc_solink_wrapper.py") |
+ solink_wrapper = |
+ rebase_path("//build/toolchain/gcc_solink_wrapper.py", root_build_dir) |
command = "$python_path \"$solink_wrapper\" --readelf=\"$readelf\" --nm=\"$nm\" $strip_switch--sofile=\"$unstripped_sofile\" --tocfile=\"$tocfile\"$map_switch --output=\"$sofile\"$whitelist_flag -- $link_command" |
rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive $solink_libs_section_prefix {{libs}} $solink_libs_section_postfix" |