| Index: net/third_party/nss/ssl/BUILD.gn
|
| diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn
|
| index 67c5851d5b0fd499e176fda610814d19fa2b84d1..c6bd7167605d529113618fe1e99cb15bcf34219f 100644
|
| --- a/net/third_party/nss/ssl/BUILD.gn
|
| +++ b/net/third_party/nss/ssl/BUILD.gn
|
| @@ -76,7 +76,9 @@ component("libssl") {
|
| "unix_err.c",
|
| "unix_err.h",
|
| ]
|
| - sources += [ "exports_win.def" ]
|
| + if (component_mode == "shared_library") {
|
| + ldflags = [ "/DEF:" + rebase_path("exports_win.def", root_build_dir) ]
|
| + }
|
| } else if (is_linux) {
|
| if (component_mode == "shared_library") {
|
| configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
|
|
|