Skip to content

Commit

Permalink
trying to solve github action dep issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xeonliu committed Oct 27, 2024
1 parent f82b51d commit 075d7d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() {
// Tell cargo to look for shared libraries in the specified directory
#[cfg(target_os = "linux")]
println!("cargo:rustc-link-search=./lib/linux");

#[cfg(target_os = "macos")]
println!("cargo:rustc-link-search=./lib/macos");

Expand All @@ -17,7 +17,9 @@ fn main() {

#[cfg(not(target_os = "windows"))]
println!("cargo:rustc-link-lib=gpcl6");


#[cfg(target_os = "linux")]
println!("cargo:rustc-link-lib=fontconfig");

#[cfg(target_os = "windows")]
println!("cargo:rustc-link-lib=gpcl6dll64");
Expand Down

0 comments on commit 075d7d9

Please sign in to comment.