]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix no-thread-pool build on Windows
authorTomas Mraz <tomas@openssl.org>
Wed, 4 Sep 2024 07:27:28 +0000 (09:27 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 10 Sep 2024 14:36:39 +0000 (16:36 +0200)
thread/arch/thread_win.c must be included into libcrypto as rcu depends
on ossl_crypto_mutex implementation on Windows.

Fixes #25337

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Hugo Landau <hlandau@devever.net>
(Merged from https://github.com/openssl/openssl/pull/25378)

crypto/thread/build.info

index 191e25e20d38e679454618754a3e4abd94320c8f..b3bada0ed3af444bfbee0ddf20a44f4f0de83cab 100644 (file)
@@ -14,7 +14,7 @@ ELSE
   IF[{- !$disabled{quic} -}]
     SOURCE[../../libssl]=$THREADS_ARCH
   ENDIF
-  $THREADS=api.c
+  $THREADS=api.c arch/thread_win.c
 ENDIF
 
 SOURCE[../../libcrypto]=$THREADS