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

release-v2.1.0
manuroe 2016-11-04 11:01:09 +01:00
parent 09b14c2b3d
commit 9ac937a200
1 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,10 @@ Pod::Spec.new do |s|
:tag => s.version.to_s
}
s.source_files = "xcode/OLMKit/*.{h,m}", "include/**/*.{h,hh}", "src/*.{c,cpp}", "lib/ed25519/**/*.{h,c}", "lib/crypto-algorithms/sha256.c", "lib/crypto-algorithms/aes.c", "lib/curve25519-donna/curve25519-donna.c"
s.source_files = "xcode/OLMKit/*.{h,m}", "include/**/*.{h,hh}", "src/*.{c,cpp}", "lib/crypto-algorithms/sha256.c", "lib/crypto-algorithms/aes.c", "lib/curve25519-donna/curve25519-donna.c"
# Those files (including .c) are included by ed25519.c. We do not want to compile them twice
s.preserve_paths = "lib/ed25519/**/*.{h,c}"
s.library = "c++"