File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ fn main() {
49
49
// Include all cross-platform C files
50
50
add_c_files ( & mut cfg, "libgit2/src/libgit2" ) ;
51
51
add_c_files ( & mut cfg, "libgit2/src/util" ) ;
52
- add_c_files ( & mut cfg, "libgit2/src/libgit2/xdiff" ) ;
53
52
54
53
// These are activated by features, but they're all unconditionally always
55
54
// compiled apparently and have internal #define's to make sure they're
@@ -61,6 +60,10 @@ fn main() {
61
60
cfg. include ( "libgit2/deps/http-parser" )
62
61
. file ( "libgit2/deps/http-parser/http_parser.c" ) ;
63
62
63
+ // external/system xdiff is not yet supported
64
+ cfg. include ( "libgit2/deps/xdiff" ) ;
65
+ add_c_files ( & mut cfg, "libgit2/deps/xdiff" ) ;
66
+
64
67
// Use the included PCRE regex backend.
65
68
//
66
69
// Ideally these defines would be specific to the pcre files (or placed in
You can’t perform that action at this time.
0 commit comments