aws-sdk-cpp: fix cross compilation, configure for curl with http2

This commit is contained in:
Orivej Desh 2021-01-21 10:32:18 +00:00
parent 095ef20a24
commit 92eb18f45d

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