From 0b9402eb40fdc23c74d01827de6a7995b6f03e88 Mon Sep 17 00:00:00 2001 From: wbq_sky Date: Tue, 8 Jun 2021 20:48:10 +0800 Subject: [PATCH] Alter the compile config for static dependence Signed-off-by: wbq_sky --- interfaces/innerkits/app_distributeddata/BUILD.gn | 2 +- services/distributeddataservice/adapter/BUILD.gn | 2 +- services/distributeddataservice/app/BUILD.gn | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaces/innerkits/app_distributeddata/BUILD.gn b/interfaces/innerkits/app_distributeddata/BUILD.gn index f2c659a4b..e40e82144 100755 --- a/interfaces/innerkits/app_distributeddata/BUILD.gn +++ b/interfaces/innerkits/app_distributeddata/BUILD.gn @@ -67,7 +67,7 @@ ohos_shared_library("app_distributeddata") { ] configs = [ ":distributeddatafwk_config" ] - + ldflags = [ "-Wl,--exclude-libs,libcrypto_static.a" ] deps = [ "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/account:distributeddata_account_static", "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/permission:distributeddata_permission_static", diff --git a/services/distributeddataservice/adapter/BUILD.gn b/services/distributeddataservice/adapter/BUILD.gn index f62f96109..7c630e73f 100755 --- a/services/distributeddataservice/adapter/BUILD.gn +++ b/services/distributeddataservice/adapter/BUILD.gn @@ -42,7 +42,7 @@ ohos_shared_library("distributeddata_adapter") { sources = [] configs = [ ":distributeddata_adapter_private_config" ] - + ldflags = [ "-Wl,--exclude-libs,libcrypto_static.a" ] deps = [ "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/autils:distributeddata_autils_static", "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/communicator:distributeddata_communicator_static", diff --git a/services/distributeddataservice/app/BUILD.gn b/services/distributeddataservice/app/BUILD.gn index 38b166f4c..0113f7a3b 100755 --- a/services/distributeddataservice/app/BUILD.gn +++ b/services/distributeddataservice/app/BUILD.gn @@ -84,7 +84,7 @@ ohos_shared_library("distributeddataservice") { ] configs = [ ":module_private_config" ] - + ldflags = [ "-Wl,--exclude-libs,libcrypto_static.a" ] deps = [ "//foundation/distributeddatamgr/distributeddatamgr/interfaces/innerkits/distributeddata:distributeddata", "//foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/adapter/account:distributeddata_account_static",