diff options
author | Richard Levitte <levitte@openssl.org> | 2019-08-19 08:55:53 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-09-26 22:41:47 +0200 |
commit | 318e074e1f55c556d0ab4f9e3fbdca7c9b284847 (patch) | |
tree | 81f256ac53a6438e82cf54535e2cafacd00aab1b /providers/build.info | |
parent | 03f30c552a07eb7686a9fc099b06653548afa941 (diff) |
When building of modules is disabled, build the legacy provider into libcrypto
This makes the legacy provider available regardless of building conditions.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9637)
Diffstat (limited to 'providers/build.info')
-rw-r--r-- | providers/build.info | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/providers/build.info b/providers/build.info index 192a5defcc..9642a3c153 100644 --- a/providers/build.info +++ b/providers/build.info @@ -15,11 +15,16 @@ ENDIF IF[{- !$disabled{legacy} -}] SUBDIRS=legacy - MODULES=legacy - IF[{- defined $target{shared_defflag} -}] - SOURCE[legacy]=legacy.ld - GENERATE[legacy.ld]=../util/providers.num + IF[{- $disabled{module} -}] + LIBS=../libcrypto + DEFINE[../libcrypto]=STATIC_LEGACY + ELSE + MODULES=legacy + IF[{- defined $target{shared_defflag} -}] + SOURCE[legacy]=legacy.ld + GENERATE[legacy.ld]=../util/providers.num + ENDIF + DEPEND[legacy]=../libcrypto + INCLUDE[legacy]=.. ../include ../crypto/include common/include ENDIF - INCLUDE[legacy]=.. ../include ../crypto/include common/include - DEPEND[legacy]=../libcrypto ENDIF |