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 /Configurations/10-main.conf | |
parent | c4f4cb14e3f06362c2ee9e0e480b816ab46f15b6 (diff) | |
download | openssl-new-5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1.tar.gz |
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 'Configurations/10-main.conf')
-rw-r--r-- | Configurations/10-main.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 518e8c77f4..3d6fbba5e4 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1300,6 +1300,8 @@ my %targets = ( shared_defflag => '', shared_ldflag => "/dll", shared_target => "win-shared", # meaningless except it gives Configure a hint + lddefflag => "/def:", + ld_implib_flag => "/implib:", thread_scheme => "winthreads", dso_scheme => "win32", perl_platform => 'Windows::MSVC', |