diff options
author | Pierre Pronchery <pierre@freebsdfoundation.org> | 2023-09-15 15:14:16 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2023-09-16 15:55:12 +0000 |
commit | 1a18383a52bc373e316d224cef1298debf6f7e25 (patch) | |
tree | 4e2d71bec343f4bfd4352059f2172fe948c901a8 /Makefile.inc1 | |
parent | ef89b78bb1f60484cc743fa590d623ad896ca8e9 (diff) | |
download | src-1a18383a52bc373e316d224cef1298debf6f7e25.tar.gz src-1a18383a52bc373e316d224cef1298debf6f7e25.zip |
libcrypto: link engines and the legacy provider to libcrypto
OpenSSL's legacy provider module and engines need to link to
libcrypto.so, as it provides some of the actual implementations of
legacy routines.
This is a little tricky due to build order issues. Introduce a small
hack (LIBCRYPTO_WITHOUT_SUBDIRS) that builds libcrypto.so in its usual
early phase without any OpenSSL provider modules or engines. This is
intended to restore the test suite; a future change should remove the
hack and replace it with a better approach.
PR: 254853, 273528
Discussed with: Folks at EuroBSDCon in Coimbra
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 7c6981f0f890..7776b40a9801 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -2980,7 +2980,7 @@ libraries: .MAKE .PHONY ${_+_}cd ${.CURDIR}; \ ${MAKE} -f Makefile.inc1 _prereq_libs; \ ${MAKE} -f Makefile.inc1 _startup_libs; \ - ${MAKE} -f Makefile.inc1 _prebuild_libs; \ + ${MAKE} -f Makefile.inc1 _prebuild_libs -DLIBCRYPTO_WITHOUT_SUBDIRS; \ ${MAKE} -f Makefile.inc1 _generic_libs # |