diff --git a/BUILD.gn b/BUILD.gn index 29bf71715e4534bbebe0ea0008a90d68b5454399..f7eeeac708715ce6baee5e3fda22194700da64f3 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -132,6 +132,7 @@ if (defined(ohos_lite)) { public_configs = [ ":mbedtls_config" ] output_name = "mbedtls" subsystem_name = "thirdparty" + version_script = "libmbedtls.map" innerapi_tags = [ "platformsdk_indirect", "sasdk", diff --git a/libmbedtls.map b/libmbedtls.map new file mode 100644 index 0000000000000000000000000000000000000000..929634e24ede06a10d004777bb03d5a27035d571 --- /dev/null +++ b/libmbedtls.map @@ -0,0 +1,6 @@ +3.6.0 { + global: + *mbedtls*; + local: + *; +};