Add support for shared_rcflag, useful for windres (Cygwin and Mingw)

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte
2016-02-05 15:17:33 +01:00
parent 68ab559a50
commit 64c443e3f0
5 changed files with 11 additions and 1 deletions

View File

@@ -35,6 +35,7 @@
shared_target => "",
shared_cflag => "",
shared_ldflag => "",
shared_rcflag => "",
shared_extension => "",
build_scheme => "unixmake",
build_file => "Makefile",

View File

@@ -1174,6 +1174,7 @@
shared_target => "cygwin-shared",
shared_cflag => "-D_WINDLL -DOPENSSL_USE_APPLINK",
shared_ldflag => "-static-libgcc",
shared_rcflag => "--target=pe-i386",
shared_extension => ".dll",
},
"mingw64" => {
@@ -1199,6 +1200,7 @@
shared_target => "cygwin-shared",
shared_cflag => "-D_WINDLL",
shared_ldflag => "-static-libgcc",
shared_rcflag => "--target=pe-x86-64",
shared_extension => ".dll",
},