Adjusting linux build path
This commit is contained in:
parent
0e15c7aa2a
commit
aa0d36fd1f
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ fn main() {
|
||||||
} else if target.contains("linux") {
|
} else if target.contains("linux") {
|
||||||
// Linux-specific linking
|
// Linux-specific linking
|
||||||
// OR if you have a custom location for Linux libs
|
// OR if you have a custom location for Linux libs
|
||||||
let lib_dir = "~/evolved-npcs/ai_fighter/AI_Fight_Sim/Plugins/NeuralNetworkAIController/Source/NeuralNetworkAIController/ThirdParty/FANN/lib/linux/x86_64-unknown-linux-gnu/";
|
let lib_dir = "/home/tepichord/evolved-npcs/ai_fighter/AI_Fight_Sim/Plugins/NeuralNetworkAIController/Source/NeuralNetworkAIController/ThirdParty/FANN/lib/linux/x86_64-unknown-linux-gnu/";
|
||||||
let lib_path = std::path::Path::new(&lib_dir).join("libfann.a");
|
let lib_path = std::path::Path::new(&lib_dir).join("libfann.a");
|
||||||
if lib_path.exists() {
|
if lib_path.exists() {
|
||||||
println!("cargo:rustc-link-search=native={}", lib_dir);
|
println!("cargo:rustc-link-search=native={}", lib_dir);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue