Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20348)
LIBS=../../libcrypto
IF[{- !$disabled{'thread-pool'} -}]
- $THREADS=\
- api.c internal.c arch.c \
+ $THREADS_ARCH=\
+ arch.c \
arch/thread_win.c arch/thread_posix.c arch/thread_none.c
+
+ $THREADS=\
+ api.c internal.c $THREADS_ARCH
+
+ IF[{- !$disabled{quic} -}]
+ SHARED_SOURCE[../../libssl]=$THREADS_ARCH
+ ENDIF
ELSE
$THREADS=api.c
ENDIF
IF[{- !$disabled{quic} -}]
SOURCE[../libssl]=priority_queue.c event_queue.c
-
- IF[{- !$disabled{'thread-pool'} -}]
- SHARED_SOURCE[../libssl]=\
- ../crypto/thread/arch/thread_posix.c \
- ../crypto/thread/arch/thread_win.c \
- ../crypto/thread/arch/thread_none.c \
- ../crypto/thread/arch.c
- ENDIF
-
ENDIF