Add crypto algos from lib to libolm target

Have been linking libolm only.
This commit is contained in:
Helge Heß 2020-04-10 18:34:51 +02:00
parent 8e35ea320c
commit c31a2f2f39

View file

@ -14,7 +14,12 @@ let package = Package(
.target(
name: "libolm",
path: ".",
sources: [ "src" ],
sources: [
"src",
"lib/crypto-algorithms/aes.c",
"lib/crypto-algorithms/sha256.c",
"lib/curve25519-donna/curve25519-donna.c"
],
publicHeadersPath: "include",
cSettings: [
.define("OLMLIB_VERSION_MAJOR", to: String(version.major)),