Skip to content
Prev Previous commit
Next Next commit
Update libgit2.gyp / binding.gyp with new libraries / code
  • Loading branch information
implausible committed Jun 25, 2019
commit 148503fdaac5c95b0dd5483fd047c77b4127de11
20 changes: 17 additions & 3 deletions generate/input/descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,11 @@
}
}
},
"fetch_options": {
"dependencies": [
"../include/str_array_converter.h"
]
},
"filter": {
"selfFreeing": false,
"hasConstructor": true,
Expand Down Expand Up @@ -1652,6 +1657,9 @@
"git_index_add_frombuffer": {
"ignore": true
},
"git_index_add_from_buffer": {
"ignore": true
},
"git_index_checksum": {
"return": {
"ownedByThis": true
Expand Down Expand Up @@ -2797,6 +2805,11 @@
"push": {
"ignore": true
},
"push_options": {
"dependencies": [
"../include/str_array_converter.h"
]
},
"rebase": {
"hasConstructor": false,
"selfFreeing": true,
Expand Down Expand Up @@ -2881,11 +2894,15 @@
}
},
"git_rebase_next": {
"isAsync": true,
"args": {
"operation": {
"isReturn": true,
"ownedByThis": true
}
},
"return": {
"isErrorCode": true
}
},
"git_rebase_open": {
Expand Down Expand Up @@ -4058,9 +4075,6 @@
},
"time": {
"dupFunction": "git_time_dup",
"dependencies": [
"git2/sys/time.h"
],
"functions": {
"git_time_sign": {
"ignore": true
Expand Down
11 changes: 11 additions & 0 deletions generate/templates/templates/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@
],
[
"OS=='mac'", {
"libraries": [
"-liconv",
],
"conditions": [
["<(is_electron) == 1", {
"include_dirs": [
Expand Down Expand Up @@ -153,8 +156,16 @@
]
}
],
["OS=='mac' or OS=='linux' or OS.endswith('bsd') or <(is_IBMi) == 1", {
"libraries": [
"<!(krb5-config gssapi --libs)"
]
}],
[
"OS=='linux' or OS.endswith('bsd') or <(is_IBMi) == 1", {
"libraries": [
"<!(pcre-config --libs-posix)"
],
"cflags": [
"-std=c++11"
]
Expand Down
Loading