File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1454,13 +1454,14 @@ if(ENABLE_OPENSSL_DYNAMIC)
14541454 set_target_properties (ssl PROPERTIES VERSION "${LIB_VERSION} " SOVERSION "${LIB_SOVERSION} " )
14551455 set_target_properties (ssl PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} /programs)
14561456else ()
1457+ # Enable legacy crypto support for OpenSSL 3.+
1458+ # to avoid `dlopen(legacy.so)`.
1459+ add_definitions (-DSTATIC_LEGACY)
1460+
14571461 add_library (crypto ${CRYPTO_SRC} )
14581462 add_library (ssl ${SSL_SRC} )
14591463endif ()
14601464
1461- # Enable legacy crypto support for OpenSSL 3.+
1462- # to avoid `dlopen(legacy.so)`.
1463- add_definitions (-DSTATIC_LEGACY)
14641465
14651466target_include_directories (crypto
14661467 SYSTEM PUBLIC "${PLATFORM_DIRECTORY} /include"
You can’t perform that action at this time.
0 commit comments