Disable http2 in cargo

Since 1.31.0 cargo requires curl to support http2. Enabling http2 in
curl results in a dependency loop. This commit disables the use of
multiplexing and http2.
This commit is contained in:
Johan Anderholm committed 2019-02-15 12:34:37 +00:00
1 parent b3d1b589ee
commit fa0aebc070
4 files changed
+40 -11

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = " \
file://LICENSE-THIRD-PARTY;md5=892ea68b169e69cfe75097fc38a15b56 \
"
SRC_URI += "file://0001-Disable-http2.patch"
S = "${RUSTSRC}/src/tools/cargo"
CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor"