Skip to content

Commit bbd22f0

Browse files
authored
Allow nghttp2 to build on macos. (#42544)
- It is unused at this time on macos - But allowing it helps test the curl build portability. Co-authored-by: tony.aiuto <tony.aiuto@datadoghq.com>
1 parent 0ebeef1 commit bbd22f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

deps/nghttp2.BUILD.bazel

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ cc_library(
4343
copts = [
4444
"-DHAVE_CONFIG_H",
4545
],
46-
target_compatible_with = [
47-
"@platforms//os:linux",
48-
],
46+
target_compatible_with = select({
47+
"@platforms//os:windows": ["@platforms//:incompatible"],
48+
"//conditions:default": [],
49+
}),
4950
)

0 commit comments

Comments
 (0)