]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix no-thread-pool building
authorMatt Caswell <matt@openssl.org>
Mon, 3 Jul 2023 13:44:46 +0000 (14:44 +0100)
committerPauli <pauli@openssl.org>
Thu, 6 Jul 2023 02:55:21 +0000 (12:55 +1000)
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)

crypto/thread/build.info

index 8b9cc54af388dbbc0d6524efa4e5a718b43e2c21..191e25e20d38e679454618754a3e4abd94320c8f 100644 (file)
@@ -1,17 +1,19 @@
 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