We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b41b3d7 commit 3a33abdCopy full SHA for 3a33abd
bazel/BUILD.hiredis
@@ -16,6 +16,14 @@ COPTS = ["-DUSE_SSL=1"] + select({
16
],
17
})
18
19
+LOPTS = select({
20
+ "@bazel_tools//src/conditions:windows": [
21
+ "Crypt32.lib",
22
+ ],
23
+ "//conditions:default": [
24
25
+})
26
+
27
# This library is for internal hiredis use, because hiredis assumes a
28
# different include prefix for itself than external libraries do.
29
cc_library(
@@ -43,6 +51,7 @@ cc_library(
43
51
"adapters/*.h",
44
52
]),
45
53
copts = COPTS,
54
+ additional_linker_inputs = LOPTS,
46
55
include_prefix = "hiredis",
47
56
deps = [
48
57
":_hiredis",
0 commit comments