Skip to content

Commit

Permalink
Use mbrt/librsync submodule
Browse files Browse the repository at this point in the history
Moved static generated config into that repo instead of cache them in
this one
  • Loading branch information
mbrt committed Jan 30, 2016
1 parent dfb3980 commit 1cfb58d
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 1,309 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "librsync-sys/librsync"]
path = librsync-sys/librsync
url = https://github.com/librsync/librsync.git
url = https://github.com/mbrt/librsync.git
6 changes: 3 additions & 3 deletions librsync-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ fn main() {
}

let cfg_dir = {
let mut p = Path::new("config").to_path_buf();
let mut p = Path::new("librsync/static").to_path_buf();
p.push(target);
p
};

cfg.include(cfg_dir)
.include("prototab")
.include("librsync/static")
.include("librsync/src")
.define("STDC_HEADERS", Some("1"))
.file("prototab/prototab.c")
.file("librsync/static/prototab.c")
.file("librsync/src/base64.c")
.file("librsync/src/buf.c")
.file("librsync/src/checksum.c")
Expand Down
214 changes: 0 additions & 214 deletions librsync-sys/config/i686-unknown-linux-gnu/config.h

This file was deleted.

40 changes: 0 additions & 40 deletions librsync-sys/config/i686-unknown-linux-gnu/librsync-config.h

This file was deleted.

0 comments on commit 1cfb58d

Please sign in to comment.