File: build.rs

package info (click to toggle)
rust-font-kit 0.14.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: makefile: 4
file content (7 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
fn main() {
    println!("cargo:rerun-if-env-changed=RUST_FONTCONFIG_DLOPEN");
    let dlopen = std::env::var("RUST_FONTCONFIG_DLOPEN").is_ok();
    if dlopen {
        println!("cargo:rustc-cfg=feature=\"source-fontconfig-dlopen\"");
    }
}