Fixed podspec flags.

This commit is contained in:
Timofey Solomko
2017-05-01 19:25:30 +03:00
parent b06fe78510
commit a1681a6aa0
+3 -3
View File
@@ -52,13 +52,13 @@ Pod::Spec.new do |s|
s.subspec 'BZip2' do |sp|
sp.dependency 'SWCompression/Common'
sp.source_files = 'Sources/{BZip2.swift,HuffmanTree.swift,BitToByteWriter.swift}'
sp.compiler_flags = '-DSWCOMP_ZIP_POD_BZ2'
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_BZ2' }
end
s.subspec 'LZMA' do |sp|
sp.dependency 'SWCompression/Common'
sp.source_files = 'Sources/LZMA*.swift'
sp.compiler_flags = '-DSWCOMP_ZIP_POD_LZMA'
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_LZMA' }
end
s.subspec 'XZ' do |sp|
@@ -71,7 +71,7 @@ Pod::Spec.new do |s|
sp.dependency 'SWCompression/Common'
sp.dependency 'SWCompression/Deflate'
sp.source_files = 'Sources/ZipContainer.swift'
sp.compiler_flags = '-DSWCOMP_ZIP_POD_BUILD'
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_BUILD' }
end
end