Skip to content

Commit

Permalink
Include OpenSSL in podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
hpique committed Oct 26, 2013
1 parent 0705b4f commit bb65856
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions RMStore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ Pod::Spec.new do |s|
kp.frameworks = 'Security'
end

s.subspec 'OpenSSL' do |openssl|
openssl.preserve_paths = 'RMStore/Optional/openssl-1.0.1e/include/openssl/*.h'
openssl.vendored_libraries = 'RMStore/Optional/openssl-1.0.1e/lib/libcrypto.a', 'RMStore/Optional/openssl-1.0.1e/lib/libssl.a'
openssl.libraries = 'ssl', 'crypto'
openssl.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/RMStore/RMStore/Optional/openssl-1.0.1e/include/**" }
end

s.subspec 'NSUserDefaultsPersistence' do |nsudp|
nsudp.dependency 'RMStore/Core'
nsudp.source_files = 'RMStore/Optional/RMStoreUserDefaultsPersistence.{h,m}', 'RMStore/Optional/RMStoreTransaction.{h,m}'
Expand Down

0 comments on commit bb65856

Please sign in to comment.