update curl (#314)

This commit is contained in:
yangchao 2022-11-14 10:00:00 +08:00 committed by GitHub
parent a4b440eca2
commit 3e1954637c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 8 additions and 2 deletions

View File

@ -5,6 +5,11 @@ set_target_properties(mbedcrypto PROPERTIES
IMPORTED_LOCATION ${ohos_lib_dir}/libmbedcrypto.a IMPORTED_LOCATION ${ohos_lib_dir}/libmbedcrypto.a
) )
add_library(mbedx509 STATIC IMPORTED GLOBAL)
set_target_properties(mbedx509 PROPERTIES
IMPORTED_LOCATION ${ohos_lib_dir}/libmbedx509.a
)
add_library(mbedtls STATIC IMPORTED GLOBAL) add_library(mbedtls STATIC IMPORTED GLOBAL)
set_target_properties(mbedtls PROPERTIES set_target_properties(mbedtls PROPERTIES
IMPORTED_LOCATION ${ohos_lib_dir}/libmbedtls.a IMPORTED_LOCATION ${ohos_lib_dir}/libmbedtls.a
@ -62,9 +67,9 @@ set_target_properties(mpg123 PROPERTIES
IMPORTED_LOCATION ${ohos_lib_dir}/libmpg123.a IMPORTED_LOCATION ${ohos_lib_dir}/libmpg123.a
) )
add_library(curl SHARED IMPORTED GLOBAL) add_library(curl STATIC IMPORTED GLOBAL)
set_target_properties(curl PROPERTIES set_target_properties(curl PROPERTIES
IMPORTED_LOCATION ${ohos_lib_dir}/libcurl.so IMPORTED_LOCATION ${ohos_lib_dir}/libcurl.a
) )
set(se_libs_name) set(se_libs_name)
@ -119,6 +124,7 @@ if(USE_SOCKET)
websockets websockets
mbedtls mbedtls
mbedcrypto mbedcrypto
mbedx509
) )
endif() endif()

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.