Skip to content

Commit c302dcb

Browse files
authored
Merge pull request #237 from ehuss/http2-macos
Support HTTP/2 on static curl-sys on MacOS.
2 parents 8e0da73 + 9409e8e commit c302dcb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

curl-sys/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ fn main() {
242242
if cfg!(feature = "ssl") {
243243
if target.contains("-apple-") {
244244
cfg.define("USE_DARWINSSL", None)
245+
.define("HAVE_BUILTIN_AVAILABLE", "1")
245246
.file("curl/lib/vtls/darwinssl.c");
246247
} else {
247248
cfg.define("USE_OPENSSL", None)

0 commit comments

Comments
 (0)