File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ fn main() {
4949 // Include all cross-platform C files
5050 add_c_files ( & mut cfg, "libgit2/src/libgit2" ) ;
5151 add_c_files ( & mut cfg, "libgit2/src/util" ) ;
52- add_c_files ( & mut cfg, "libgit2/src/libgit2/xdiff" ) ;
5352
5453 // These are activated by features, but they're all unconditionally always
5554 // compiled apparently and have internal #define's to make sure they're
@@ -61,6 +60,10 @@ fn main() {
6160 cfg. include ( "libgit2/deps/http-parser" )
6261 . file ( "libgit2/deps/http-parser/http_parser.c" ) ;
6362
63+ // external/system xdiff is not yet supported
64+ cfg. include ( "libgit2/deps/xdiff" ) ;
65+ add_c_files ( & mut cfg, "libgit2/deps/xdiff" ) ;
66+
6467 // Use the included PCRE regex backend.
6568 //
6669 // 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