aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/BoringSSL-GRPC.podspec
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-09-20 12:03:25 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-09-20 13:20:50 -0700
commit3f4fef6116bb3e9b749792f90afdc3edb8d84770 (patch)
tree6ebee0c73676e65daa9c2510e630dc7542094bc0 /src/objective-c/BoringSSL-GRPC.podspec
parent37b9b9e8fd60aa011b8b49b17498d86393d0fcf0 (diff)
replace #include library name in BoringSSL files
Diffstat (limited to 'src/objective-c/BoringSSL-GRPC.podspec')
-rw-r--r--src/objective-c/BoringSSL-GRPC.podspec1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/objective-c/BoringSSL-GRPC.podspec b/src/objective-c/BoringSSL-GRPC.podspec
index ed32b3c576..b6f85c6adb 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 <openssl/;#include <openssl_grpc/;g'
END_OF_COMMAND
# Redefine symbols to avoid conflict when the same app also depends on OpenSSL. The list of