mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Rename build flags used in cocoapods configurations
This commit is contained in:
@@ -44,12 +44,12 @@ Pod::Spec.new do |s|
|
||||
|
||||
s.subspec 'BZip2' do |sp|
|
||||
sp.source_files = 'Sources/{BZip2,BZip2Error,Extensions,Protocols,CheckSums,DataWithPointer,BitReader,HuffmanTree,BitWriter}.swift'
|
||||
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_BZ2' }
|
||||
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMPRESSION_POD_BZ2' }
|
||||
end
|
||||
|
||||
s.subspec 'LZMA' do |sp|
|
||||
sp.source_files = 'Sources/{LZMA*,Extensions,Protocols,DataWithPointer}.swift'
|
||||
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_LZMA' }
|
||||
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMPRESSION_POD_LZMA' }
|
||||
end
|
||||
|
||||
s.subspec 'XZ' do |sp|
|
||||
@@ -60,7 +60,7 @@ Pod::Spec.new do |s|
|
||||
s.subspec 'ZIP' do |sp|
|
||||
sp.dependency 'SWCompression/Deflate'
|
||||
sp.source_files = 'Sources/{Zip*,CheckSums}.swift'
|
||||
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMP_ZIP_POD_BUILD' }
|
||||
sp.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DSWCOMPRESSION_POD_ZIP' }
|
||||
end
|
||||
|
||||
s.subspec 'TAR' do |sp|
|
||||
|
||||
Reference in New Issue
Block a user