fix native static library not found
This commit is contained in:
parent
cdec0cd772
commit
040650bee5
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ use std::env;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("cargo:rustc-link-search=whisper.cpp");
|
println!("cargo:rustc-link-search={}", env::var("OUT_DIR").unwrap());
|
||||||
println!("cargo:rustc-link-lib=static=whisper");
|
println!("cargo:rustc-link-lib=static=whisper");
|
||||||
println!("cargo:rerun-if-changed=wrapper.h");
|
println!("cargo:rerun-if-changed=wrapper.h");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue