Jelajahi Sumber

Fixed linking with cocoapods

Yaakov 12 tahun lalu
induk
melakukan
f37a6bbb89
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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