From: Tomas Mraz Date: Fri, 27 Jan 2023 09:25:10 +0000 (+0100) Subject: Do not include sparse_array.o in libssl with no-shared X-Git-Tag: openssl-3.2.0-alpha1~1352 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea9b0e4b6c35c7f90b2e5a3475084500488775d;p=thirdparty%2Fopenssl.git 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) --- diff --git a/crypto/build.info b/crypto/build.info index 95b6eebf3cd..4b2902dd50e 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 \