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"
|
||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
||||
] ++ lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DENABLE_TESTING=OFF"
|
||||
++ lib.optional (apis != ["*"])
|
||||
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"-DENABLE_TESTING=OFF"
|
||||
"-DCURL_HAS_H2=0"
|
||||
] ++ lib.optional (apis != ["*"])
|
||||
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user