Skip to content

Commit 2a54be7

Browse files
committed
chore: select switch
1 parent feebc67 commit 2a54be7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ecsact/cli/commands/build/recipe/BUILD.bazel

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ cc_library(
2525
"//:use_sdk_version_enabled": ["ECSACT_CLI_USE_SDK_VERSION"],
2626
"//:use_sdk_version_disabled": [],
2727
}),
28-
linkopts = ["/DEFAULTLIB:Wldap32.lib"],
28+
linkopts = select({
29+
"@rules_cc//cc/compiler:msvc-cl": [
30+
"/DEFAULTLIB:Wldap32.lib",
31+
],
32+
"//conditions:default": [],
33+
}),
2934
deps = [
3035
"//ecsact/cli:report",
3136
"//ecsact/cli/detail:argv0",

0 commit comments

Comments
 (0)