diff options
author | Orivej Desh <orivej@gmx.fr> | 2021-01-21 10:32:18 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2021-01-21 10:33:28 +0000 |
commit | 92eb18f45d97f4d02a4dd399759635c11603ee43 (patch) | |
tree | 5f3f2ccb44dcb9d4935185c2cdba7b82d543809b /pkgs/development/libraries/aws-sdk-cpp | |
parent | 095ef20a24f49a3198fb4d54debff3f389e4b1be (diff) |
aws-sdk-cpp: fix cross compilation, configure for curl with http2
Diffstat (limited to 'pkgs/development/libraries/aws-sdk-cpp')
-rw-r--r-- | pkgs/development/libraries/aws-sdk-cpp/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix index ffe15652a3d92..215fbeb7071f2 100644 --- a/pkgs/development/libraries/aws-sdk-cpp/default.nix +++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix @@ -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}"; |