aboutsummaryrefslogtreecommitdiff
path: root/OLMKit.podspec
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2016-11-04 11:01:09 +0100
committermanuroe <manu@matrix.org>2016-11-04 11:01:09 +0100
commit9ac937a200e22dc486ce80ed4df674a4d52bacd0 (patch)
tree91be817446d2a581b35327c066715b845c733d08 /OLMKit.podspec
parent09b14c2b3d809b9149100e39c5efd0cb3c0f281e (diff)
OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files
Diffstat (limited to 'OLMKit.podspec')
-rw-r--r--OLMKit.podspec5
1 files changed, 4 insertions, 1 deletions
diff --git a/OLMKit.podspec b/OLMKit.podspec
index 86bc611..a1cc74c 100644
--- a/OLMKit.podspec
+++ b/OLMKit.podspec
@@ -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++"