diff options
author | Fahrzin Hemmati <fahhem@users.noreply.github.com> | 2023-01-25 15:22:05 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 15:22:05 -0800 |
commit | 3a0f99e84bbc3c1de08f8412ad158020eff8b213 (patch) | |
tree | 60eddcd161077d8c14a038a13366ee376a0ab115 | |
parent | fd3ac7427a85a51dd8f24e3c95a93eb6e4a870bd (diff) |
Pass correct flags for mingw to use bcrypt
-rw-r--r-- | absl/random/internal/BUILD.bazel | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/absl/random/internal/BUILD.bazel b/absl/random/internal/BUILD.bazel index 81ca669b..a51c9375 100644 --- a/absl/random/internal/BUILD.bazel +++ b/absl/random/internal/BUILD.bazel @@ -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 = [ |