File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,9 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
89
89
add_c_files ( & mut cfg, "libgit2/src/libgit2/transports" ) ;
90
90
add_c_files ( & mut cfg, "libgit2/src/libgit2/streams" ) ;
91
91
92
- // Always use bundled http- parser for now
93
- cfg. include ( "libgit2/deps/http-parser" )
94
- . file ( "libgit2/deps/http-parser/http_parser.c " ) ;
92
+ // Always use bundled HTTP parser (llhttp) for now
93
+ cfg. include ( "libgit2/deps/llhttp" ) ;
94
+ add_c_files ( & mut cfg , "libgit2/deps/llhttp " ) ;
95
95
96
96
// external/system xdiff is not yet supported
97
97
cfg. include ( "libgit2/deps/xdiff" ) ;
@@ -150,6 +150,7 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
150
150
features. push_str ( "#define INCLUDE_features_h\n " ) ;
151
151
features. push_str ( "#define GIT_THREADS 1\n " ) ;
152
152
features. push_str ( "#define GIT_TRACE 1\n " ) ;
153
+ features. push_str ( "#define GIT_HTTPPARSER_BUILTIN 1\n " ) ;
153
154
154
155
if !target. contains ( "android" ) {
155
156
features. push_str ( "#define GIT_USE_NSEC 1\n " ) ;
You can’t perform that action at this time.
0 commit comments