Index: build/config/posix/BUILD.gn |
diff --git a/build/config/posix/BUILD.gn b/build/config/posix/BUILD.gn |
index c4198200862c9e805a98e09966d8f2c73230ef76..ccb2364c5fdf128c3f7bd5f48d9482b10e96c18c 100644 |
--- a/build/config/posix/BUILD.gn |
+++ b/build/config/posix/BUILD.gn |
@@ -38,12 +38,12 @@ config("runtime_library") { |
ldflags = cflags |
# Need to get some linker flags out of the sysroot. |
- ldflags += [ exec_script("sysroot_ld_path.py", |
- [ |
- rebase_path("//build/linux/sysroot_ld_path.sh", |
- root_build_dir), |
- sysroot, |
- ], |
- "value") ] |
+ ldflags += exec_script("sysroot_ld_path.py", |
+ [ |
+ rebase_path("//build/linux/sysroot_ld_path.sh", |
+ root_build_dir), |
+ rebase_path(sysroot), |
+ ], |
+ "list lines") |
} |
} |