Skip to content

Commit d52bce7

Browse files
John Haleytbranyen
authored andcommitted
Windows uses winhttp and doesn't need SSL
1 parent aa3c7fb commit d52bce7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

vendor/libgit2.gyp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"defines": [
1919
"GIT_THREADS",
2020
"GIT_SSH",
21-
"GIT_SSL",
2221
# Node's util.h may be accidentally included so use this to guard
2322
# against compilation error.
2423
"SRC_UTIL_H_",
@@ -244,6 +243,11 @@
244243
"libgit2/src/xdiff/xutils.h",
245244
],
246245
"conditions": [
246+
["OS!='win'", {
247+
"defines": [
248+
"GIT_SSL"
249+
],
250+
}],
247251
["OS=='win'", {}, {
248252
"sources": [
249253
"libgit2/src/unix/map.c",

0 commit comments

Comments
 (0)