diff options
author | Jorge Canizales <jcanizales@google.com> | 2016-07-07 01:47:43 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2016-07-07 01:47:43 -0700 |
commit | ccb184068d21758f905ecc3bfd42a2f9626dd5ee (patch) | |
tree | 3d6a4154d42c653322f6bee8da63c02fedbcf6e1 /src/objective-c/BoringSSL.podspec | |
parent | 095172c3a52a11c42aed0150eb8dbb47186fd2a0 (diff) |
Add arm_arch.h back to fix compilation for devices
Diffstat (limited to 'src/objective-c/BoringSSL.podspec')
-rw-r--r-- | src/objective-c/BoringSSL.podspec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/objective-c/BoringSSL.podspec b/src/objective-c/BoringSSL.podspec index 26a0451f7d..42b4434d0d 100644 --- a/src/objective-c/BoringSSL.podspec +++ b/src/objective-c/BoringSSL.podspec @@ -109,8 +109,6 @@ Pod::Spec.new do |s| s.subspec 'Interface' do |ss| ss.header_mappings_dir = 'include/openssl' ss.source_files = 'include/openssl/*.h' - # Doesn't compile correctly; but doesn't seem to be needed: - ss.exclude_files = 'include/openssl/arm_arch.h' end s.subspec 'Implementation' do |ss| ss.header_mappings_dir = '.' @@ -147,6 +145,11 @@ Pod::Spec.new do |s| #include "ssl.h" #include "crypto.h" #include "aes.h" + /* The following macros are defined by base.h. The latter is the first file included by the + other headers. */ + #if defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64) + # include "arm_arch.h" + #endif #include "asn1.h" #include "asn1_mac.h" #include "asn1t.h" |