File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 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
8989 add_c_files ( & mut cfg, "libgit2/src/libgit2/transports" ) ;
9090 add_c_files ( & mut cfg, "libgit2/src/libgit2/streams" ) ;
9191
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 " ) ;
9595
9696 // external/system xdiff is not yet supported
9797 cfg. include ( "libgit2/deps/xdiff" ) ;
@@ -150,6 +150,7 @@ The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VEN
150150 features. push_str ( "#define INCLUDE_features_h\n " ) ;
151151 features. push_str ( "#define GIT_THREADS 1\n " ) ;
152152 features. push_str ( "#define GIT_TRACE 1\n " ) ;
153+ features. push_str ( "#define GIT_HTTPPARSER_BUILTIN 1\n " ) ;
153154
154155 if !target. contains ( "android" ) {
155156 features. push_str ( "#define GIT_USE_NSEC 1\n " ) ;
You can’t perform that action at this time.
0 commit comments