Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
9ac937a2
Commit
9ac937a2
authored
Nov 04, 2016
by
manuroe
Browse files
OLMKit: podspec: Attempt to fix duplicate symbols because ed25519.c includes .c files
parent
09b14c2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
OLMKit.podspec
View file @
9ac937a2
...
...
@@ -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++"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment