Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index e9205c86fbe2b5b0e8518efb1ea1d626067a8cf5..7b2604afbde91940bad1ca5b10918aa44302e2ab 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -258,7 +258,10 @@ |
'-O<(debug_optimize)', |
'-g', |
], |
- }, |
+ 'ldflags': [ |
+ '-rdynamic', # Allows backtrace to resolve symbols. |
+ ], |
+ }, |
'Release': { |
'cflags': [ |
'-O2', |
@@ -383,10 +386,11 @@ |
'ws2_32.lib', |
'usp10.lib', |
'psapi.lib', |
+ 'dbghelp.lib', |
], |
'AdditionalLibraryDirectories': |
'<(DEPTH)/third_party/platformsdk_win2008_6_1/files/Lib', |
- 'DelayLoadDLLs': 'dwmapi.dll,uxtheme.dll', |
+ 'DelayLoadDLLs': 'dbghelp.dll,dwmapi.dll,uxtheme.dll', |
'GenerateDebugInformation': 'true', |
'MapFileName': '$(OutDir)\\$(TargetName).map', |
'ImportLibrary': '$(OutDir)\\lib\\$(TargetName).lib', |