summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-09-06 11:26:56 +0200
committerRichard Levitte <levitte@openssl.org>2021-09-06 11:26:56 +0200
commited96022218e71efcf50c69cd6997ed85a2c37ffe (patch)
tree574e246d5ee188393666a1c27463c92e537263b4
parent09126044f0120b0039b13365b30465d4b6d0f8f0 (diff)
test/ec_internal_test: link with libapps.a too
Whenever the source from $target{apps_init_src} is added to the source of a test program, it needs to be linked with libapps.a as well. Some init sources depend on that. Without this, builds break on VMS because of the unresolved symbol 'app_malloc'. On platforms that do not need anything from libapps.a, adding it is a no-op. This is for OpenSSL 1.1.1 only. OpenSSL 3.0 and beyond have a different solution. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16512)
-rw-r--r--test/build.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info
index 6357a7f2fe..726bd22127 100644
--- a/test/build.info
+++ b/test/build.info
@@ -519,7 +519,7 @@ INCLUDE_MAIN___test_libtestutil_OLB = /INCLUDE=MAIN
{- rebase_files("../apps",
split(/\s+/, $target{apps_init_src})) -}
INCLUDE[ec_internal_test]=../include ../crypto/ec
- DEPEND[ec_internal_test]=../libcrypto.a libtestutil.a
+ DEPEND[ec_internal_test]=../apps/libapps.a ../libcrypto.a libtestutil.a
SOURCE[curve448_internal_test]=curve448_internal_test.c
INCLUDE[curve448_internal_test]=.. ../include ../crypto/ec/curve448