Skip to content
Snippets Groups Projects
Commit db327704 authored by Muxi Yan's avatar Muxi Yan
Browse files

Fix modulemap redefinition

parent 7f2a15a6
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'BoringSSL' s.name = 'BoringSSL'
version = '8.0' version = '8.1'
s.version = version s.version = version
s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google’s needs.' s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google’s needs.'
# Adapted from the homepage: # Adapted from the homepage:
...@@ -95,7 +95,7 @@ Pod::Spec.new do |s| ...@@ -95,7 +95,7 @@ Pod::Spec.new do |s|
# The module map and umbrella header created automatically by Cocoapods don't work for C libraries # The module map and umbrella header created automatically by Cocoapods don't work for C libraries
# like this one. The following file, and a correct umbrella header, are created on the fly by the # like this one. The following file, and a correct umbrella header, are created on the fly by the
# `prepare_command` of this pod. # `prepare_command` of this pod.
s.module_map = 'include/openssl/module.modulemap' s.module_map = 'include/openssl/BoringSSL.modulemap'
# We don't need to inhibit all warnings; only -Wno-shorten-64-to-32. But Cocoapods' linter doesn't # We don't need to inhibit all warnings; only -Wno-shorten-64-to-32. But Cocoapods' linter doesn't
# want that for some reason. # want that for some reason.
...@@ -186,7 +186,7 @@ Pod::Spec.new do |s| ...@@ -186,7 +186,7 @@ Pod::Spec.new do |s|
#include "x509.h" #include "x509.h"
#include "x509v3.h" #include "x509v3.h"
EOF EOF
cat > include/openssl/module.modulemap <<EOF cat > include/openssl/BoringSSL.modulemap <<EOF
framework module openssl { framework module openssl {
umbrella header "umbrella.h" umbrella header "umbrella.h"
export * export *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment