Skip to content

Commit 9409e8e

Browse files
committed
Support HTTP/2 on static curl-sys on MacOS.
1 parent 8e0da73 commit 9409e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

curl-sys/build.rs

Lines changed: 1 addition & 0 deletions
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)