Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21332)
LIBS=../../libcrypto
-IF[{- !$disabled{'thread-pool'} -}]
- $THREADS_ARCH=\
- arch.c \
- arch/thread_win.c arch/thread_posix.c arch/thread_none.c
-
- $THREADS=\
- api.c internal.c $THREADS_ARCH
+$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
ENDIF