]> git.ipfire.org Git - thirdparty/curl.git/commit
dllmain: exclude from Cygwin builds
authorJeremy Drake <github@jdrake.com>
Tue, 3 Jun 2025 17:35:46 +0000 (10:35 -0700)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 3 Jun 2025 18:30:31 +0000 (14:30 -0400)
commit7a30481760f1f7bfb7928d0b22d49a5ae263386f
tree431d95f0726625f0873d646d2a6ac5a023dccbbd
parentf1e1c8b98a403a433accbd1976debe59e502df05
dllmain: exclude from Cygwin builds

On Cygwin, it is unsafe to call POSIX functions from DllMain, which
OPENSSL_thread_stop does.  Additionally, it should be unnecessary as
OpenSSL uses pthread_key_create to register a thread destructor to do
thread cleanup in a POSIX way.

Reported-by: Yuyi Wang
Ref: https://cygwin.com/pipermail/cygwin/2025-June/258235.html

Fixes #17262
Closes https://github.com/curl/curl/pull/17528
configure.ac
lib/CMakeLists.txt
lib/Makefile.am
lib/dllmain.c