提交 467e93cb 编写于 作者: Z Zbigniew Bodek 提交者: Zbigniew Bodek

Fix error of multiple objects of the same name

Because static libraries are always being built,
when shared library is also built, multiple objects
of the same name are created. Add proper suffix to
to the output name to resolve that issue.
Signed-off-by: NZbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I92044edc0035f22cffc4fff13e40c86168991c11
上级 ea111dae
...@@ -91,7 +91,7 @@ mbedtls_sources = [ ...@@ -91,7 +91,7 @@ mbedtls_sources = [
shared_library("mbedtls_shared") { shared_library("mbedtls_shared") {
sources = mbedtls_sources sources = mbedtls_sources
output_name = "mbedtls" output_name = "mbedtls_shared"
public_configs = [ public_configs = [
":mbedtls_config", ":mbedtls_config",
] ]
...@@ -99,7 +99,7 @@ shared_library("mbedtls_shared") { ...@@ -99,7 +99,7 @@ shared_library("mbedtls_shared") {
static_library("mbedtls_static") { static_library("mbedtls_static") {
sources = mbedtls_sources sources = mbedtls_sources
output_name = "mbedtls" output_name = "mbedtls_static"
public_configs = [ public_configs = [
":mbedtls_config", ":mbedtls_config",
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册