Skip to content

Commit

Permalink
deps: fix OPENSSLDIR on Windows
Browse files Browse the repository at this point in the history
Backslashes and spaces are need to be escaped to define OPENSSLDIR to
"C:\Program Files\Common Files\SSL".

PR-URL: #29456
Refs: #29455
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
shigeki authored and Trott committed Dec 6, 2019
1 parent 418dd68 commit eea5bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/openssl/openssl_common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}, 'OS=="win"', {
'defines': [
## default of Win. See INSTALL in openssl repo.
'OPENSSLDIR="C:\Program Files\Common Files\SSL"',
'OPENSSLDIR="C:\\\Program\ Files\\\Common\ Files\\\SSL"',
'ENGINESDIR="NUL"',
'OPENSSL_SYS_WIN32', 'WIN32_LEAN_AND_MEAN', 'L_ENDIAN',
'_CRT_SECURE_NO_DEPRECATE', 'UNICODE', '_UNICODE',
Expand Down

0 comments on commit eea5bb4

Please sign in to comment.