OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files

This commit is contained in:
manuroe 2016-11-04 11:07:36 +01:00
parent 9ac937a200
commit 62f5280670

View file

@ -49,7 +49,7 @@ Pod::Spec.new do |s|
}
s.subspec 'olmc' do |olmc|
olmc.source_files = "src/*.{c}", "lib/curve25519-donna.h", "lib/ed25519/**/*.{h,c}", "lib/crypto-algorithms/sha256.{h,c}", "lib/crypto-algorithms/aes.{h,c}", "lib/curve25519-donna/curve25519-donna.c"
olmc.source_files = "src/*.{c}", "lib/curve25519-donna.h", "lib/crypto-algorithms/sha256.{h,c}", "lib/crypto-algorithms/aes.{h,c}", "lib/curve25519-donna/curve25519-donna.c"
olmc.compiler_flags = ' -std=c99 -fPIC'
end