diff options
author | Tanzinul Islam <tanzinul.islam@gmail.com> | 2020-12-06 23:04:45 +0000 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-04-19 11:05:54 +0200 |
commit | 5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1 (patch) | |
tree | fb0832a2e24cde0f5e2dec0463225bbd06c838fa /crypto/build.info | |
parent | c4f4cb14e3f06362c2ee9e0e480b816ab46f15b6 (diff) |
Support DLL builds + Fix C RTL variants
We need to generate a import library without the version in the
filename. MSVC's `link.exe` accommodates this with the [`/implib:`
option][1], while C++Builder needs a separate run of [`implib.exe`][2].
Also fix the variants of the [C runtime library and startup objects][3].
[1]: https://docs.microsoft.com/en-us/cpp/build/reference/implib-name-import-library?view=msvc-160
[2]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/IMPLIB.EXE,_the_Import_Library_Tool_for_Win32
[3]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Static_Runtime_Libraries
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/13540)
Diffstat (limited to 'crypto/build.info')
-rw-r--r-- | crypto/build.info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/build.info b/crypto/build.info index 3b78431f80..3e1c295aea 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -131,6 +131,6 @@ INCLUDE[armv4cpuid.o]=. GENERATE[s390xcpuid.S]=s390xcpuid.pl INCLUDE[s390xcpuid.o]=. -IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}] +IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] SHARED_SOURCE[../libcrypto]=dllmain.c ENDIF |