From 5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1 Mon Sep 17 00:00:00 2001 From: Tanzinul Islam Date: Sun, 6 Dec 2020 23:04:45 +0000 Subject: 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 Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/13540) --- crypto/build.info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/build.info') 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 -- cgit v1.2.3