Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop building s2n via aws_prebuild_dependency() (#677)
**Issue:** aws-sdk-cpp could no longer cross-compile for Android, after we switched to building S2N via [aws_prebuild_dependency()](https://github.com/awslabs/aws-c-common/blob/bb29dc816ac6fe8678765c3b869f47326b942367/cmake/AwsPrebuildDependency.cmake) in this PR: #665 **Description of changes:** Go back to building s2n via CMake's `add_subdirectory()`. This does a better job picking up misc CMake settings (like toolchains for cross-compilation) than `aws_prebuild_dependency()` We'll continue building AWS-LC via `aws_prebuild_dependency()` for now, since we still need `libcrypto` fully built before S2N's configure stage. But that won't be a problem for `aws-sdk-cpp` which always passes `-DUSE_OPENSSL=ON` to skip building AWS-LC and use the system's pre-existing libcrypto instead.
- Loading branch information