Skip to content

Commit

Permalink
Fix linkage on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 12, 2016
1 parent 4d2b771 commit f3d5633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libgit2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ fn main() {
println!("cargo:rustc-link-search=native={}", dst.join("lib").display());
if target.contains("apple") {
println!("cargo:rustc-link-lib=iconv");
println!("cargo:rustc-link-lib=framework=Security");
println!("cargo:rustc-link-lib=framework=CoreFoundation");
}
}

Expand Down

0 comments on commit f3d5633

Please sign in to comment.