From 467e93cb9014df2e99ee500709b14c371410b23d Mon Sep 17 00:00:00 2001 From: Zbigniew Bodek Date: Thu, 26 Nov 2020 12:58:44 -0500 Subject: [PATCH] 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: Zbigniew Bodek Change-Id: I92044edc0035f22cffc4fff13e40c86168991c11 --- BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 50859d8..b409bb7 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -91,7 +91,7 @@ mbedtls_sources = [ shared_library("mbedtls_shared") { sources = mbedtls_sources - output_name = "mbedtls" + output_name = "mbedtls_shared" public_configs = [ ":mbedtls_config", ] @@ -99,7 +99,7 @@ shared_library("mbedtls_shared") { static_library("mbedtls_static") { sources = mbedtls_sources - output_name = "mbedtls" + output_name = "mbedtls_static" public_configs = [ ":mbedtls_config", ] -- GitLab