diff options
author | Andy Polyakov <appro@openssl.org> | 2016-07-16 23:21:39 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2016-08-01 09:52:06 +0200 |
commit | 4e155ec47e73ed95e15b9e875b3c7fdfcbf13496 (patch) | |
tree | 6bb90438ff29475903db0c9df1c1ef7c714b1993 /Configurations | |
parent | e72769aa41c3f49e0f39f44de222fc5ac339e3e0 (diff) |
apps/openssl.c: UTF-y Windows argv.
Windows never composes UTF-8 strings as result of user interaction
such as passing command-line argument. The only way to compose one
is programmatic conversion from WCHAR string, which in turn can be
picked up on command line.
[For reference, why not wmain, it's not an option on MinGW.]
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/10-main.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 62e659eb3c..ec7a7d9300 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1254,6 +1254,7 @@ sub vms_info { shared_target => "win-shared", # meaningless except it gives Configure a hint thread_scheme => "winthreads", dso_scheme => "win32", + apps_aux_src => add("win32_init.c"), }, "VC-noCE-common" => { inherit_from => [ "VC-common" ], @@ -1414,6 +1415,7 @@ sub vms_info { shared_rcflag => "--target=pe-i386", shared_extension => ".dll", multilib => "", + apps_aux_src => add("win32_init.c"), }, "mingw64" => { # As for OPENSSL_USE_APPLINK. Applink makes it possible to use @@ -1442,6 +1444,7 @@ sub vms_info { shared_rcflag => "--target=pe-x86-64", shared_extension => ".dll", multilib => "64", + apps_aux_src => add("win32_init.c"), }, #### UEFI |