Skip to content

Commit

Permalink
Fixed build error
Browse files Browse the repository at this point in the history
This line prevents publishing to crates.io
  • Loading branch information
bvssvni committed Oct 20, 2024
1 parent fadc546 commit 651117f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ fn main() {
return;
}

/*
// From libpng/png.h:
// "If pnglibconf.h is missing, you can copy scripts/pnglibconf.h.prebuilt to pnglibconf.h"
std::fs::copy(
"libpng/scripts/pnglibconf.h.prebuilt",
"libpng/pnglibconf.h",
)
.unwrap();
*/

let mut build = cc::Build::new();

Expand Down

0 comments on commit 651117f

Please sign in to comment.