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..03b288e2e6e94a6b897ffec4b59b9a4db40b6572 100644 |
--- a/tools/gn/secondary/third_party/nss/BUILD.gn |
+++ b/tools/gn/secondary/third_party/nss/BUILD.gn |
@@ -7,7 +7,9 @@ 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") |
+ includes = pkgresult[0] |
+ cflags = pkgresult[1] |
+ ldflags = pkgresult[2] |
} |
} |