From f2e99e987106f16f55c31962d328f2e138168f33 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Tue, 30 Jan 2018 15:32:07 -0800 Subject: [PATCH] Exclude bcm.c for dup symbol issue --- src/objective-c/BoringSSL.podspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/objective-c/BoringSSL.podspec b/src/objective-c/BoringSSL.podspec index a698a75a993..8a32e9735da 100644 --- a/src/objective-c/BoringSSL.podspec +++ b/src/objective-c/BoringSSL.podspec @@ -129,7 +129,11 @@ Pod::Spec.new do |s| '*.h', 'crypto/*.h', 'crypto/**/*.h' - ss.exclude_files = '**/*_test.*', + # bcm.c includes other source files, creating duplicated symbols. Since it is not used, we + # explicitly exclude it from the pod. + # TODO (mxyan): Work with BoringSSL team to remove this hack. + ss.exclude_files = 'crypto/fipsmodule/bcm.c', + '**/*_test.*', '**/test_*.*', '**/test/*.*'