libfringe/build.rs
2015-04-16 06:08:44 -04:00

11 lines
284 B
Rust

// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
extern crate gcc;
use std::env::var_os;
fn main() {
if var_os("CARGO_FEATURE_VALGRIND").is_some() {
gcc::compile_library("libvalgrind.a", &["src/debug/valgrind/native.c"]);
}
}