Browse Source

Fixed linking with cocoapods

Yaakov 12 years ago
parent
commit
f37a6bbb89
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OpenSSL.podspec

+ 2 - 1
OpenSSL.podspec

@@ -15,5 +15,6 @@ Pod::Spec.new do |s|
   s.source_files = 'include/openssl/**/*.h'
   s.public_header_files = 'include/openssl/**/.h'
   s.preserve_paths = 'libcrypto.a', 'libssl.a'
-  s.library	 = 'crypto', 'ssl'
+  s.library	  = 'crypto', 'ssl'
+  s.xcconfig	 = { 'LIBRARY_SEARCH_PATHS' => '"$(SRCROOT)/Pods/OpenSSL"' }
 end