Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up #88

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions minimap2-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ fn configure(mut cc: &mut cc::Build) {

if let Some(x) = file.extension() {
if x == "c" {
println!("Compiling: {:?}", file);
cc.file(file);
}
}
Expand Down Expand Up @@ -131,8 +130,6 @@ fn compile() {
let _host = env::var("HOST").unwrap();
let _target = env::var("TARGET").unwrap();

println!("{}", _target);

println!("cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR");

println!("cargo:rustc-link-lib=m");
Expand Down Expand Up @@ -164,7 +161,6 @@ fn compile() {
println!("cargo:rustc-cfg=link_libz");

if let Some(include) = std::env::var_os("DEP_Z_INCLUDE") {
println!("-------------FOUND ZLIB INCLUDE: {:?}", include);
cc.include(include);
// Use env DEP_Z_ROOT to find the library
if let Some(lib) = std::env::var_os("DEP_Z_ROOT") {
Expand All @@ -174,11 +170,6 @@ fn compile() {
}
}

// Debugging, print out the entire environment
for (key, value) in std::env::vars() {
println!("{}: {}", key, value);
}

if let Ok(lib) = pkg_config::find_library("zlib") {
for path in &lib.include_paths {
cc.include(path);
Expand Down
Loading