From eea5bb4160517f84e9673e685f0b2494214b95de Mon Sep 17 00:00:00 2001 From: Shigeki Ohtsu Date: Fri, 6 Sep 2019 01:46:57 +0900 Subject: [PATCH] deps: fix OPENSSLDIR on Windows Backslashes and spaces are need to be escaped to define OPENSSLDIR to "C:\Program Files\Common Files\SSL". PR-URL: https://github.com/nodejs/node/pull/29456 Refs: https://github.com/nodejs/node/pull/29455 Reviewed-By: Richard Lau Reviewed-By: Sam Roberts Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Michael Dawson Reviewed-By: James M Snell Reviewed-By: Rich Trott --- deps/openssl/openssl_common.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/openssl/openssl_common.gypi b/deps/openssl/openssl_common.gypi index 67640a6325eb52..93b87064b3fb3e 100644 --- a/deps/openssl/openssl_common.gypi +++ b/deps/openssl/openssl_common.gypi @@ -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',