Merge pull request #110307 from orivej/aws-cross

aws-sdk-cpp: fix cross compilation, configure for curl with http2
This commit is contained in:
Florian Klink 2021-01-21 12:54:13 +01:00 committed by GitHub
commit a1d4f80467
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,8 @@ stdenv.mkDerivation rec {
] ++ lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"-DENABLE_TESTING=OFF"
"-DCURL_HAS_H2=0"
"-DCURL_HAS_H2=1"
"-DCURL_HAS_TLS_PROXY=1"
] ++ lib.optional (apis != ["*"])
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";