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
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user