Closed jean-airoldie closed 5 years ago
Good point, I should put it LinkType::Unspecified
so that the compiler infers.
Alright https://github.com/sodiumoxide/sodiumoxide/pull/344 was merged. Now we just for it to be actually release on crates.io
Alright so libsodium-sys
was just released (https://github.com/sodiumoxide/sodiumoxide/issues/352). Which means I can finally take the appropriate steps to close this issue.
Getting another issue for windows builds, see https://github.com/sodiumoxide/sodiumoxide/issues/370. I'll provide a PR.
Alright so I'm gonna open a separate issue for windows libsodium
linking, because its not a priority for now. See #12.
Why are you setting the link type to dynmic if libsodium is provided from outside? https://github.com/jean-airoldie/zeromq-src-rs/blob/4fa5079d099209586234c70e318aa5a4d8c73b9c/src/lib.rs#L254
Hyperledger Indy uses the static libraries especially when cross-compiling to e.g. Android libsodium.so is not even built by sodiumoxide.
Probably I am overlooking something as your testcrate works.