| Index: tools/gn/secondary/crypto/ssl/BUILD.gn
|
| diff --git a/tools/gn/secondary/crypto/ssl/BUILD.gn b/tools/gn/secondary/crypto/ssl/BUILD.gn
|
| index b48f111f5260bc9af1f1dd8830000a931daed8c5..a937a70624a6edae04502cf3b0468fd5b1a557d3 100644
|
| --- a/tools/gn/secondary/crypto/ssl/BUILD.gn
|
| +++ b/tools/gn/secondary/crypto/ssl/BUILD.gn
|
| @@ -17,8 +17,10 @@ if (is_linux && use_system_ssl) {
|
| pkg_script = "//build/config/linux/pkg-config.py"
|
| config("system_ssl_config") {
|
| defines = [ "USE_SYSTEM_SSL" ]
|
| - 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]
|
| }
|
| }
|
|
|
|
|