summaryrefslogtreecommitdiff
path: root/crypto/build.info
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-01-27 10:25:10 +0100
committerPauli <pauli@openssl.org>2023-01-31 11:10:22 +1100
commitaea9b0e4b6c35c7f90b2e5a3475084500488775d (patch)
treec79bfbbc4b10f82430262be4becd36881cfb21c6 /crypto/build.info
parentf6a6f7b6aa84dab44384780cb77050d15c5f575e (diff)
downloadopenssl-new-aea9b0e4b6c35c7f90b2e5a3475084500488775d.tar.gz
Do not include sparse_array.o in libssl with no-shared
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20137)
Diffstat (limited to 'crypto/build.info')
-rw-r--r--crypto/build.info4
1 files changed, 3 insertions, 1 deletions
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 \