Skip to content

Commit

Permalink
Fix CI pipeline build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Notgnoshi committed Jan 4, 2025
1 parent 7444a84 commit 2ed2e07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ fn main() {

#[cfg(feature = "cxx-bindings")]
{
// BUG: rustc-link-search isn't enough to find libgeos.so in the CI/CD environment, but it
// is locally. I'm not sure why, and I'm moving on...
println!("cargo:rustc-env=LD_LIBRARY_PATH={}/../../../lib/", &out_dir);
println!("cargo:rustc-link-search=native={}/../../../lib/", &out_dir);
println!("cargo:rustc-link-lib=static=generative");
println!("cargo:rustc-link-lib=log4cplus");
Expand Down

0 comments on commit 2ed2e07

Please sign in to comment.