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
2019-01-29 20:50:03 +01:00
parent b3d1b589ee
commit fa0aebc070
4 changed files with 40 additions and 11 deletions
+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"