olm-sys
: A Low Level Binding For OlmCompiling on Windows fails right now, due to lacking expertise with the platform. Contributions very welcome!
This library can either be built by statically or dynamically linking against libolm
:
This is the default and requires no further action. libolm
is built locally and then linked against statically.
libstdc++
/libc++
For linking against libolm
dynamically, first make sure that you have the library in your link path.
Then build this library with the OLM_LINK_VARIANT
environment variable set to dylib
.
For example, building your project using olm-sys
as a dependency would look like this:
OLM_LINK_VARIANT=dylib cargo build