Merge pull request #110307 from orivej/aws-cross
aws-sdk-cpp: fix cross compilation, configure for curl with http2
This commit is contained in:
commit
a1d4f80467
|
@ -38,7 +38,8 @@ stdenv.mkDerivation rec {
|
||||||
] ++ lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
] ++ lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
||||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
"-DENABLE_TESTING=OFF"
|
"-DENABLE_TESTING=OFF"
|
||||||
"-DCURL_HAS_H2=0"
|
"-DCURL_HAS_H2=1"
|
||||||
|
"-DCURL_HAS_TLS_PROXY=1"
|
||||||
] ++ lib.optional (apis != ["*"])
|
] ++ lib.optional (apis != ["*"])
|
||||||
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue