diff options
author | Abseil Team <absl-team@google.com> | 2023-02-28 10:32:47 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-02-28 10:34:04 -0800 |
commit | cd43bea7779641790763f983f92683882749c647 (patch) | |
tree | 3a0bffc74c29afc520e2841f0653b398457f9c65 /absl/debugging | |
parent | 0c1114c4fb83c844c7fd74708338cca1d3d9b0dc (diff) |
Fix //absl/{base,debugging:symbolize} build with Mingw
PiperOrigin-RevId: 512974770
Change-Id: If7a8128996d2a73ac566faaa676ddd3858d51af6
Diffstat (limited to 'absl/debugging')
-rw-r--r-- | absl/debugging/BUILD.bazel | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/debugging/BUILD.bazel b/absl/debugging/BUILD.bazel index edbb3698..86063da2 100644 --- a/absl/debugging/BUILD.bazel +++ b/absl/debugging/BUILD.bazel @@ -83,6 +83,10 @@ cc_library( linkopts = ABSL_DEFAULT_LINKOPTS + select({ "//absl:msvc_compiler": ["-DEFAULTLIB:dbghelp.lib"], "//absl:clang-cl_compiler": ["-DEFAULTLIB:dbghelp.lib"], + "//absl:mingw_compiler": [ + "-DEFAULTLIB:dbghelp.lib", + "-ldbghelp", + ], "//conditions:default": [], }), deps = [ |