| Index: mojo/public/rust/build.rs
|
| diff --git a/mojo/public/rust/build.rs b/mojo/public/rust/build.rs
|
| index ad46c9213e817fb9505383cf62da814a28a51ea5..4c5740c6800caa1945750905645d7aabce50c088 100644
|
| --- a/mojo/public/rust/build.rs
|
| +++ b/mojo/public/rust/build.rs
|
| @@ -56,9 +56,16 @@ fn main() {
|
| None => panic!("Failed to find system_thunks."),
|
| }
|
| } else {
|
| + println!("cargo:rustc-link-lib=stdc++");
|
| + match search_output(mojo_out_dir, OsStr::new("libvalidation_parser.a")) {
|
| + Some(path) => {
|
| + println!("cargo:rustc-link-lib=static=validation_parser");
|
| + println!("cargo:rustc-link-search=native={}", path.display());
|
| + }
|
| + None => panic!("Failed to find validation_parser."),
|
| + }
|
| match search_output(mojo_out_dir, OsStr::new("librust_embedder.a")) {
|
| Some(path) => {
|
| - println!("cargo:rustc-link-lib=stdc++");
|
| println!("cargo:rustc-link-lib=static=rust_embedder");
|
| println!("cargo:rustc-link-search=native={}", path.display());
|
| }
|
|
|