Skip to content

Commit

Permalink
chore: select switch
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Mar 25, 2024
1 parent feebc67 commit 2a54be7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ecsact/cli/commands/build/recipe/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ cc_library(
"//:use_sdk_version_enabled": ["ECSACT_CLI_USE_SDK_VERSION"],
"//:use_sdk_version_disabled": [],
}),
linkopts = ["/DEFAULTLIB:Wldap32.lib"],
linkopts = select({
"@rules_cc//cc/compiler:msvc-cl": [
"/DEFAULTLIB:Wldap32.lib",
],
"//conditions:default": [],
}),
deps = [
"//ecsact/cli:report",
"//ecsact/cli/detail:argv0",
Expand Down

0 comments on commit 2a54be7

Please # to comment.