Commit 545f5c0
authored
PS-10627 fix: Fix linking issues on Debian (missing zlib symbols coming from libcrypto) (#90)
https://perconadev.atlassian.net/browse/PS-10627
Fixed an issue with not being able to link main project executable on Debian platforms where
'libcrypto' is built with 'zstd'.
Reworked the way how we build AWS SDK C++ libraries. We now pass 2 additional CMake
options ('S2N_USE_CRYPTO_SHARED_LIBS=ON' and
'CMAKE_EXPORT_COMPILE_COMMANDS=ON') which instructs Cmake to use shared version
of the 'libcrypto' when building AWS SDK C++ libraries.
In addition, we also pass the same 'S2N_USE_CRYPTO_SHARED_LIBS' to the main project
CMake execution in order to get rid of static 'libcrypto.a' dependency coming from the
second level dependencies of 'aws-cpp-sdk-s3-crt'.1 parent b5d1299 commit 545f5c0
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments