Skip to content

Commit b8a95f9

Browse files
committed
Added lcurl to linux build with git_curl define
1 parent 1353407 commit b8a95f9

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

vendor/libgit2.gyp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,15 @@
266266
"libgit2/src/stransport_stream.c",
267267
"libgit2/src/stransport_stream.h",
268268
"libgit2/src/tls_stream.c",
269-
"libgit2/src/tls_stream.h"
269+
"libgit2/src/tls_stream.h",
270+
"libgit2/src/curl_stream.c",
271+
"libgit2/src/curl_stream.h"
270272
],
271273
"link_settings": {
272274
"xcode_settings": {
273275
"OTHER_LDFLAGS": [
274-
"-framework Security"
276+
"-framework Security",
277+
"-framework CoreFoundation"
275278
],
276279
},
277280
}
@@ -287,14 +290,18 @@
287290
"cflags": [
288291
"-DGIT_SSH",
289292
"-DGIT_SSL",
293+
"-lcurl",
290294
"-w",
291295
],
292296
"defines": [
293-
"GIT_OPENSSL"
297+
"GIT_OPENSSL",
298+
"GIT_CURL"
294299
],
295300
"sources": [
296301
"libgit2/src/tls_stream.c",
297-
"libgit2/src/tls_stream.h"
302+
"libgit2/src/tls_stream.h",
303+
"libgit2/src/curl_stream.c",
304+
"libgit2/src/curl_stream.h"
298305
]
299306
}],
300307
["OS=='win'", {

0 commit comments

Comments
 (0)