From 3f4fef6116bb3e9b749792f90afdc3edb8d84770 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Thu, 20 Sep 2018 12:03:25 -0700 Subject: [PATCH] replace #include library name in BoringSSL files --- src/objective-c/BoringSSL-GRPC.podspec | 1 + templates/src/objective-c/BoringSSL-GRPC.podspec.template | 1 + 2 files changed, 2 insertions(+) diff --git a/src/objective-c/BoringSSL-GRPC.podspec b/src/objective-c/BoringSSL-GRPC.podspec index ed32b3c5763..b6f85c6adbb 100644 --- a/src/objective-c/BoringSSL-GRPC.podspec +++ b/src/objective-c/BoringSSL-GRPC.podspec @@ -1546,6 +1546,7 @@ Pod::Spec.new do |s| sed -i'.back' '/^#define \\([A-Za-z0-9_]*\\) \\1/d' include/openssl/ssl.h sed -i'.back' 'N;/^#define \\([A-Za-z0-9_]*\\) *\\\\\\n *\\1/d' include/openssl/ssl.h sed -i'.back' 's/#ifndef md5_block_data_order/#ifndef GRPC_SHADOW_md5_block_data_order/g' crypto/fipsmodule/md5/md5.c + find . -type f -path '*.h' -or -path '*.cc' -or -path '*.c' -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include