mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-18 09:58:33 +00:00
5e2fe4afaa
libcrypt no longer supports setting our own threading callbacks, and is thread-safe if we call gcry_check_version() before creating threads. Unfortunately we can't guarantee that we call gcry_check_version() early enough, we try our best. Most of the callers of libsecret either don't use libgcrypt, or also initialize it appropriately themselves. Bump libgcrypt dependency to 1.4.5+, and have earlier versions use the native pthread implementation of locking.