This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link with the dependencies of rust-core (#351)
* Link with the dependencies of rust-core When linking against a static library you must explicitly link against the dependencies of that static library. These are the libraries which rust itself links against to create libdeltachat.so, you can see this using `readelf -d libdeltachat.so`. The interesting thing is that all these libraries are actually part of your libc. And depending on which libc and which version of libc you use, some symbols may be available without extra linking. So many people would not have noticed these missing links. There is no need to try to detect exactly which links are needed since the loading only happens lazily anyway, so needlessly linking against a lib which should always be available anyway is fairly harmless. * Attempt to deal with osx correctly
- Loading branch information