Commit 68a1de6f by Copybara-Service

Merge pull request #1371 from fahhem:mingw_support

PiperOrigin-RevId: 504981951
Change-Id: I7357e8e6730ceda458b40aa605cd450e80271dc6
parents db51f687 3a0f99e8
......@@ -36,6 +36,14 @@ config_setting(
)
config_setting(
name = "mingw_compiler",
flag_values = {
"@bazel_tools//tools/cpp:compiler": "mingw",
},
visibility = [":__subpackages__"],
)
config_setting(
name = "msvc_compiler",
flag_values = {
"@bazel_tools//tools/cpp:compiler": "msvc-cl",
......
......@@ -82,6 +82,10 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS + select({
"//absl:msvc_compiler": ["-DEFAULTLIB:bcrypt.lib"],
"//absl:clang-cl_compiler": ["-DEFAULTLIB:bcrypt.lib"],
"//absl:mingw_compiler": [
"-DEFAULTLIB:bcrypt.lib",
"-lbcrypt",
],
"//conditions:default": [],
}),
deps = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment