diff --git a/generate/input/libgit2-supplement.json b/generate/input/libgit2-supplement.json index 0e46a5686..b686795c3 100644 --- a/generate/input/libgit2-supplement.json +++ b/generate/input/libgit2-supplement.json @@ -481,6 +481,10 @@ "name": "prune", "type": "git_fetch_prune_t" }, + { + "name": "proxy_opts", + "type": "git_proxy_options" + }, { "name": "update_fetchhead", "type": "int" diff --git a/generate/templates/templates/binding.gyp b/generate/templates/templates/binding.gyp index 457221dcd..6bea6d409 100644 --- a/generate/templates/templates/binding.gyp +++ b/generate/templates/templates/binding.gyp @@ -88,13 +88,22 @@ } } } - ], [ + ], + [ + "OS=='linux' or OS=='mac'", { + "libraries": [ + "-lcurl" + ] + } + ], + [ "OS=='linux' and '