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

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}";