Skip to content

Commit 63a435d

Browse files
committed
Addressing failures
1 parent e4c4514 commit 63a435d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

submodules/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,11 @@ else()
320320
COMMENT "OpenSSL build"
321321
)
322322
323-
if (QUIC_USE_SYSTEM_LIBCRYPTO AND NOT (CX_PLATFORM STREQUAL "linux"))
323+
if (QUIC_USE_SYSTEM_LIBCRYPTO AND NOT (CX_PLATFORM STREQUAL "linux" AND QUIC_TLS_LIB STREQUAL "openssl"))
324324
# OpenSSL 3 uses different sources for static and dynamic libraries.
325325
# That is ok if you use either one consistently but it fails to link when we use dynamic crypto with static ssl.
326-
# To fix that we need little hackery - see quictls/ssl/build.info
327-
# On Linux, this is not needed because we link both libssl and libcrypto dynamically.
326+
# To fix that we need little hackery - see quictls/ssl/build.info.
327+
# Skip only linux+openssl where both libssl and libcrypto are linked dynamically.
328328
add_custom_command(
329329
OUTPUT ${LIBSSL_PATH}
330330
OUTPUT ${LIBCRYPTO_PATH}

0 commit comments

Comments
 (0)