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:
1 parent
1a4c07b961
commit
c3ffc75474
3 files changed
+26
-2
No files matched your search
@@ -196,6 +196,7 @@ kotlin {
|
||||
if (!name.contains("ios")) {
|
||||
val libsodiumCinterop by cinterops.creating {
|
||||
defFile(project.file("src/nativeInterop/cinterop/libsodium.def"))
|
||||
compilerOpts.add("-I${project.rootDir}/sodiumWrapper/include/")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
headers = sodium.h
|
||||
headerFilter = sodium.h sodium/**
|
||||
staticLibraries = libsodium.a
|
||||
libraryPaths = /home/ionspin/Projects/Future/sodiumWrapper/lib
|
||||
compilerOpts = -I/home/ionspin/Projects/Future/sodiumWrapper/include
|
||||
libraryPaths = sodiumWrapper/lib
|
||||
#compilerOpts = -I./sodiumWrapper/include
|
||||
linkerOpts =
|
||||
Reference in new issue
Block a user