Index: tools/gn/secondary/third_party/nss/BUILD.gn |
diff --git a/tools/gn/secondary/third_party/nss/BUILD.gn b/tools/gn/secondary/third_party/nss/BUILD.gn |
index 57213de0195beb2112712c5e022f6563611e58ec..c2e6b0eef350c2619a4b971c8a871944d747db8d 100644 |
--- a/tools/gn/secondary/third_party/nss/BUILD.gn |
+++ b/tools/gn/secondary/third_party/nss/BUILD.gn |
@@ -7,7 +7,8 @@ if (is_linux) { |
pkg_script = "//build/config/linux/pkg-config.py" |
config("nss_linux_config") { |
- cflags = exec_script(pkg_script, [ "--cflags", "nss" ], "list lines") |
- ldflags = exec_script(pkg_script, [ "--libs", "nss" ], "list lines") |
+ pkgresult = exec_script(pkg_script, [ "nss" ], "value") |
+ cflags = pkgresult[0] |
+ ldflags = pkgresult[1] |
} |
} |