diff options
author | Tanzinul Islam <tanzinul.islam@gmail.com> | 2020-12-09 00:29:14 +0000 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2021-04-19 11:05:54 +0200 |
commit | 6afb36342d4bc63a774fd96088ededfc00401e1d (patch) | |
tree | 0cef52523b29ff8970ca431a6653d12b1a5d61f3 /Configurations/50-cppbuilder.conf | |
parent | 5fee3fe2760d65a141873601c4b7b9fd2fc5c7b1 (diff) |
Build resource files
We need to compile with [brcc32.exe][1] and link with [ilink32.exe][2].
The latter expects the `.res` files to be given in the final comma-
separated section in the command line (after the `.def` file).
[1]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/BRCC32.EXE,_the_Resource_Compiler
[2]: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_ILINK32_and_ILINK64_on_the_Command_Line#Command-Line_Elements
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/50-cppbuilder.conf')
-rw-r--r-- | Configurations/50-cppbuilder.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Configurations/50-cppbuilder.conf b/Configurations/50-cppbuilder.conf index cb293afcb9..40b89b403e 100644 --- a/Configurations/50-cppbuilder.conf +++ b/Configurations/50-cppbuilder.conf @@ -38,10 +38,14 @@ my %targets = ( AR => "tlib", ARFLAGS => "/P256 /N /u", ar_resp_delim => " &\n", + RC => "brcc32", + RCFLAGS => '-i"$(BDS)\include\windows\sdk"', + rcoutflag => "-fo", shared_target => "win-shared", shared_ldflag => "-Tpd c0d32.obj", dso_lflags => "-Tpd c0d32.obj", lddefflag => ",", + ldresflag => ",", ld_implib_rule => 'implib $< $**', dso_scheme => "win32", } |