gtk 0.0.6

Rust bindings for the GTK+ library
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    let cfgs = env::var("OVERRIDE_GTK_CFG")
        .or_else(|_| env::var("DEP_GTK_CFG"))
        .unwrap_or_else(|e| panic!("Failed to read `DEP_GTK_CFG`: {}", e));
    for cfg in cfgs.split(' ').filter(|s| !s.is_empty()) {
        println!("cargo:rustc-cfg={}", cfg);
    }
}