autotools-0.2.5/src/lib.rs fails build: 'configure.ac' is required
Closed this issue · 4 comments
reqlez commented
-
There is some logic in the Rust app to grab sodium via github. I commented that out and building sodium as part of the port instead. Currently testing building the port with:
GH_ACCOUNT= cardano-bsd-alliance DISTVERSION= v5.0.3d ( that tag has git command commented out ): https://github.com/cardano-bsd-alliance/cncli/blob/bsdbuild/build.rs
reqlez commented
Now that i'm looking at the code again, I think all is needed is to comment out this code...
#[cfg(not(feature = "libsodium-sys"))]
{
let libsodium = autotools::Config::new("contrib/libsodium/").reconf("-vfi").build();
println!("cargo:rustc-link-search=native={}", libsodium.join("lib").display());
println!("cargo:rustc-link-lib=static=sodium");
}
reqlez commented
reqlez commented
reqlez commented