corretto / amazon-corretto-crypto-provider

The Amazon Corretto Crypto Provider is a collection of high-performance cryptographic implementations exposed via standard JCA/JCE interfaces.
Apache License 2.0
238 stars 56 forks source link

Explicitly specify the static build of AWS-LC for linking #374

Closed amirhosv closed 7 months ago

amirhosv commented 7 months ago

Description of changes:

In case a customer does not use build.gradle to build ACCP and have a separate flow for building AWS-LC, we introduce a property that can be pass to CMake that identifies the static build of AWS-LC. When shared objects for AWS-LC are also built, OPENSSL_CRYPTO_LIBRARY defaults to the shared object. In such cases, one can set OPENSSL_CRYPTO_LIBRARY_STATIC so that the static build would be used for linking.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.