Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link libp11-kit so that it cannot unload
libp11-kit installs a pthread_atfork() callback to count forks. If the library gets unloaded, a stale pointer is called on the next fork(), leading to a crash. This fix adds -z nodelete linker flag so that libp11-kit cannot be unloaded. Unfortunately, that only fixes the problem for GNU ld. More additionnal flags will be required for other linkers.
- Loading branch information