Skip to content

Commit

Permalink
Link against boost
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jan 16, 2019
1 parent eed7ea5 commit 04ab175
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ fn main() {
println!("cargo:rustc-link-lib=static=devcore");
println!("cargo:rustc-link-lib=static=jsoncpp");

println!("cargo:rustc-link-search=/usr/lib/");
println!("cargo:rustc-link-lib=boost_system");
println!("cargo:rustc-link-lib=boost_filesystem");
println!("cargo:rustc-link-lib=boost_regex");

// We need to link against C++ std lib
if let Some(cpp_stdlib) = get_cpp_stdlib() {
println!("cargo:rustc-link-lib={}", cpp_stdlib);
Expand Down

0 comments on commit 04ab175

Please sign in to comment.