Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tuna2134 authored Jul 8, 2023
1 parent 1f55d47 commit 1f9f700
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions aquestalk/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,12 @@ fn main() {
archive
.extract(format!("{}/aqtk10_lnx_110", out_dir))
.unwrap();

fs::copy(
format!(
Command::new("ln")
.arg("-sf")
.arg(format!(
"{}/aqtk10_lnx_110/aqtk10_lnx/lib64/libAquesTalk10.so.1.1",
out_dir
),
format!("{}/libAquesTalk10.so.1", out_dir),
)
.unwrap();
let output = Command::new("ln")
.arg("-sf")
.arg(format!("{}/libAquesTalk10.so.1", out_dir))
))
.arg(format!("{}/libAquesTalk10.so", out_dir))
.output()
.expect("Failed to create symbolic link");
Expand Down

0 comments on commit 1f9f700

Please sign in to comment.