Unverified Commit 166c2418 authored by Adrian Kuegel's avatar Adrian Kuegel Committed by GitHub
Browse files

[Bazel] Add linkopts to adjust for changes in 9ec67884 (#194314)

We need to link against crypt32.lib to avoid linker errors on Windows.
parent 89894b67
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4679,6 +4679,13 @@ cc_library(
    srcs = glob(["lib/HTTP/*.cpp"]),
    hdrs = glob(["include/llvm/HTTP/*.h"]),
    includes = ["include"],
    linkopts = select({
        "@platforms//os:windows": [
            "crypt32.lib",
            "winhttp.lib",
        ],
        "//conditions:default": [],
    }),
    deps = [":Support"],
)