Merge pull request #61519 from erictapen/aws-sdk-cpp-cross-fix
aws-sdk-cpp: fix cross compilation
This commit is contained in:
commit
4dd5c93998
@ -37,9 +37,11 @@ stdenv.mkDerivation rec {
|
|||||||
"-DBUILD_DEPS=OFF"
|
"-DBUILD_DEPS=OFF"
|
||||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
||||||
] ++ lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
] ++ lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
||||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DENABLE_TESTING=OFF"
|
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
++ lib.optional (apis != ["*"])
|
"-DENABLE_TESTING=OFF"
|
||||||
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
"-DCURL_HAS_H2=0"
|
||||||
|
] ++ lib.optional (apis != ["*"])
|
||||||
|
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user