Andrew Rioux 90c8b97141
feat: fixed server comp, added ELF inject
I gave up and just put it in a Docker image, it's not as important as
the beacons being statically compiled
2025-02-04 16:42:05 -05:00

10 lines
367 B
Rust

fn main() {
include!("../build_common.rs");
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("linux") {
let capdir = std::env::var("SPARSE_BUILD_LIBCAP").unwrap();
println!("cargo:rustc-link-search=native={capdir}/lib");
println!("cargo:rustc-link-lib=static=cap");
println!("cargo:rustc-link-lib=static=psx");
}
}