Skip to content

Commit

Permalink
fix #205 update podspec: use correct library search path for MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
vixentael committed Jun 28, 2017
1 parent 313a05c commit 2e69c2f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions themis.podspec
Expand Up @@ -5,18 +5,22 @@ Pod::Spec.new do |s|
s.description = "Themis is a data security library, providing users with high-quality security services for secure messaging of any kinds and flexible data storage. Themis is aimed at modern development practices, with high level OOP wrappers for iOS / macOS, NodeJS, Go, Ruby, Python, PHP and Java / Android. It is designed with ease of use in mind, high security and cross-platform availability."
s.homepage = "http://cossacklabs.com"
s.license = { :type => 'Apache 2.0'}
s.source = { :git => "https://github.com/cossacklabs/themis.git", :tag => "0.9.4" }
s.source = { :git => "https://github.com/cossacklabs/themis.git", :tag => "#{s.version}" }
s.author = {'cossacklabs' => 'info@cossacklabs.com'}

s.dependency 'OpenSSL-Universal', '1.0.1.20'

s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'

s.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
s.ios.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"',
'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/OpenSSL-Universal/lib-ios"' }

s.osx.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"',
'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/OpenSSL-Universal/lib-macos"' }

# open ssl
s.libraries = 'ssl', 'crypto'

Expand Down

0 comments on commit 2e69c2f

Please sign in to comment.