Skip to content

Commit

Permalink
Merge pull request #237 from ehuss/http2-macos
Browse files Browse the repository at this point in the history
Support HTTP/2 on static curl-sys on MacOS.
alexcrichton authored Nov 5, 2018
2 parents 8e0da73 + 9409e8e commit c302dcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions curl-sys/build.rs
Original file line number Diff line number Diff line change
@@ -242,6 +242,7 @@ fn main() {
if cfg!(feature = "ssl") {
if target.contains("-apple-") {
cfg.define("USE_DARWINSSL", None)
.define("HAVE_BUILTIN_AVAILABLE", "1")
.file("curl/lib/vtls/darwinssl.c");
} else {
cfg.define("USE_OPENSSL", None)

0 comments on commit c302dcb

Please sign in to comment.