Use boringssl instead of openssl to implement wasm cache loading (#1804)
This commit is contained in:
@ -136,7 +136,7 @@ include (${SHARED_DIR}/utils/uncommon/shared_uncommon.cmake)
|
||||
# STATIC LIBRARY
|
||||
add_library(iwasm_static STATIC ${WAMR_RUNTIME_LIB_SOURCE})
|
||||
if (WAMR_BUILD_WASM_CACHE EQUAL 1)
|
||||
target_link_libraries(iwasm_static OpenSSL::SSL)
|
||||
target_link_libraries(iwasm_static PUBLIC boringssl_crypto)
|
||||
endif ()
|
||||
set_target_properties (iwasm_static PROPERTIES OUTPUT_NAME vmlib)
|
||||
|
||||
@ -147,7 +147,7 @@ add_library (iwasm_shared SHARED ${WAMR_RUNTIME_LIB_SOURCE})
|
||||
set_target_properties (iwasm_shared PROPERTIES OUTPUT_NAME iwasm)
|
||||
target_link_libraries (iwasm_shared ${LLVM_AVAILABLE_LIBS} ${UV_A_LIBS} -lm -ldl -lpthread)
|
||||
if (WAMR_BUILD_WASM_CACHE EQUAL 1)
|
||||
target_link_libraries(iwasm_shared OpenSSL::SSL)
|
||||
target_link_libraries(iwasm_shared boringssl_crypto)
|
||||
endif ()
|
||||
|
||||
if (MINGW)
|
||||
|
||||
Reference in New Issue
Block a user