openssl/crypto/thread/build.info
Tomas Mraz f0fd24d5f3 Fix no-thread-pool build on Windows
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)
2024-09-10 16:36:39 +02:00

22 lines
488 B
Plaintext

LIBS=../../libcrypto
$THREADS_ARCH=\
arch.c \
arch/thread_win.c arch/thread_posix.c arch/thread_none.c
IF[{- !$disabled{'thread-pool'} -}]
IF[{- !$disabled{quic} -}]
SHARED_SOURCE[../../libssl]=$THREADS_ARCH
ENDIF
$THREADS=\
api.c internal.c $THREADS_ARCH
ELSE
IF[{- !$disabled{quic} -}]
SOURCE[../../libssl]=$THREADS_ARCH
ENDIF
$THREADS=api.c arch/thread_win.c
ENDIF
SOURCE[../../libcrypto]=$THREADS
SOURCE[../../providers/libfips.a]=$THREADS