libmem 4.4.0

Advanced Game Hacking Library (Windows/Linux/FreeBSD)
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::env;

fn main() {
    let lib_path = if cfg!(windows) {
        format!("{}{}", env::var("ProgramFiles").unwrap(), "\\libmem\\lib")
    } else {
        String::from("/usr/lib")
    };

    println!("cargo:rustc-link-search={}", lib_path);
}