From aea9b0e4b6c35c7f90b2e5a3475084500488775d Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 27 Jan 2023 10:25:10 +0100 Subject: Do not include sparse_array.o in libssl with no-shared Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20137) --- crypto/build.info | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crypto/build.info') diff --git a/crypto/build.info b/crypto/build.info index 95b6eebf3c..4b2902dd50 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -102,7 +102,9 @@ $UTIL_COMMON=\ param_build_set.c der_writer.c threads_lib.c params_dup.c \ quic_vlint.c time.c -SOURCE[../libssl]=sparse_array.c +IF[{- !$disabled{shared} -}] + SOURCE[../libssl]=sparse_array.c +ENDIF SOURCE[../libcrypto]=$UTIL_COMMON \ mem.c mem_sec.c \ -- cgit v1.2.1