aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/src
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 /templates/src
parent37b9b9e8fd60aa011b8b49b17498d86393d0fcf0 (diff)
replace #include library name in BoringSSL files
Diffstat (limited to 'templates/src')
-rw-r--r--templates/src/objective-c/BoringSSL-GRPC.podspec.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/src/objective-c/BoringSSL-GRPC.podspec.template b/templates/src/objective-c/BoringSSL-GRPC.podspec.template
index 509806f65b..8bdc095e40 100644
--- a/templates/src/objective-c/BoringSSL-GRPC.podspec.template
+++ b/templates/src/objective-c/BoringSSL-GRPC.podspec.template
@@ -1551,6 +1551,7 @@
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