mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
07a6ecf941
I accidentally left it in after removing the calls to stdout/stderr in d926b8342b492cfa442a72b4d4da01e7e23d9cba. Source-Repo: https://github.com/servo/servo Source-Revision: 5ead929fea34ca6d05d6bc4f0a07eeab4dfae207
17 lines
514 B
Rust
17 lines
514 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
use std::env;
|
|
use std::process::Command;
|
|
|
|
fn main() {
|
|
let out_dir = env::var("OUT_DIR").unwrap();
|
|
let result = Command::new("make")
|
|
.args(&["-f", "makefile.cargo"])
|
|
.status()
|
|
.unwrap();
|
|
assert!(result.success());
|
|
println!("cargo:rustc-flags=-L native={}", out_dir);
|
|
}
|