parent
4aa581cf1f
commit
5b7ed8a719
2 changed files with 3 additions and 3 deletions
|
@ -233,13 +233,13 @@ fun copyRustBuild() {
|
|||
val originLib = when (currentOs()) {
|
||||
OS.LINUX -> "libgitnuro_rs.so"
|
||||
OS.WINDOWS -> "gitnuro_rs.dll"
|
||||
OS.MAC -> "libgitnuro_rs.so" //TODO or is it a dylib? must be tested
|
||||
OS.MAC -> "libgitnuro_rs.dylib"
|
||||
}
|
||||
|
||||
val destinyLib = when (currentOs()) {
|
||||
OS.LINUX -> "libuniffi_gitnuro.so"
|
||||
OS.WINDOWS -> "uniffi_gitnuro.dll"
|
||||
OS.MAC -> "libuniffi_gitnuro.so" //TODO or is it a dylib? must be tested
|
||||
OS.MAC -> "libuniffi_gitnuro.dylib"
|
||||
}
|
||||
|
||||
val originFile = File(workingDir, originLib)
|
||||
|
|
|
@ -13,7 +13,7 @@ name = "gitnuro_rs"
|
|||
uniffi = { version = "0.24.1" }
|
||||
notify = "6.0.1"
|
||||
thiserror = "1.0.43"
|
||||
libssh-rs = "0.2.1"
|
||||
libssh-rs = { version = "0.2.1", features = [ "vendored", "vendored-openssl" ] }
|
||||
|
||||
[build-dependencies]
|
||||
uniffi = { version = "0.24.1", features = [ "build" ] }
|
||||
|
|
Loading…
Reference in a new issue