Index: build/config/win/BUILD.gn |
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn |
index daf26ed6f67a59f04000b401d0093948a527fe62..458479e2593823da2c070b70caeb0f72ed9ab0e5 100644 |
--- a/build/config/win/BUILD.gn |
+++ b/build/config/win/BUILD.gn |
@@ -73,6 +73,9 @@ config("common_linker_setup") { |
# exceeds maximum allowable size (80000000) |
# which started happening more regularly after VS2013 Update 4. |
"/maxilksize:2147483647", |
+ |
+ # Force the creation of a .lib file for all executable() targets. |
+ "/EXPORT:main", |
] |
# ASLR makes debugging with windbg difficult because Chrome.exe and |