Add libsodium license, even though the source is not really included in this repo, update cinterop def to point to absolute path (still missingfor linker)
This commit is contained in:
parent
1a4c07b961
commit
c3ffc75474
23
EXTERNAL_LICENSES
Normal file
23
EXTERNAL_LICENSES
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Libraries used by multipatform-crypto-delegated follow:
|
||||||
|
|
||||||
|
Libsodium, licensed under ISC License
|
||||||
|
|
||||||
|
/*
|
||||||
|
* ISC License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013-2020
|
||||||
|
* Frank Denis <j at pureftpd dot org>
|
||||||
|
*
|
||||||
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
|
* copyright notice and this permission notice appear in all copies.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
|
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||||
|
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||||
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||||
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
@ -196,6 +196,7 @@ kotlin {
|
|||||||
if (!name.contains("ios")) {
|
if (!name.contains("ios")) {
|
||||||
val libsodiumCinterop by cinterops.creating {
|
val libsodiumCinterop by cinterops.creating {
|
||||||
defFile(project.file("src/nativeInterop/cinterop/libsodium.def"))
|
defFile(project.file("src/nativeInterop/cinterop/libsodium.def"))
|
||||||
|
compilerOpts.add("-I${project.rootDir}/sodiumWrapper/include/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
headers = sodium.h
|
headers = sodium.h
|
||||||
headerFilter = sodium.h sodium/**
|
headerFilter = sodium.h sodium/**
|
||||||
staticLibraries = libsodium.a
|
staticLibraries = libsodium.a
|
||||||
libraryPaths = /home/ionspin/Projects/Future/sodiumWrapper/lib
|
libraryPaths = sodiumWrapper/lib
|
||||||
compilerOpts = -I/home/ionspin/Projects/Future/sodiumWrapper/include
|
#compilerOpts = -I./sodiumWrapper/include
|
||||||
linkerOpts =
|
linkerOpts =
|
Loading…
x
Reference in New Issue
Block a user