Updated DLL

Fixed DLL loading issues with Linux
This commit is contained in:
Jordon Brooks 2023-06-04 00:41:26 +01:00
parent 5d17c3eeed
commit 5da0c7f397
6 changed files with 25 additions and 4 deletions

View file

@ -29,4 +29,7 @@ fn main() {
fs::copy(&path, &dest_path).expect("copy failed");
}
}
println!("cargo:rustc-env=RUSTFLAGS=-C link-arg=-Wl,-rpath,$ORIGIN");
println!("cargo:rerun-if-changed=src/main.rs");
}