We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b695c63 commit b60273eCopy full SHA for b60273e
mozjs-sys/build.rs
@@ -221,10 +221,6 @@ fn build_spidermonkey(build_dir: &Path) {
221
encoding_c_mem_include_dir.replace("\\", "/"),
222
));
223
cppflags.push(" ");
224
- // add zlib from libz-sys to include path
225
- if let Ok(zlib_include_dir) = env::var("DEP_Z_INCLUDE") {
226
- cppflags.push(format!("-I{} ", zlib_include_dir.replace("\\", "/")));
227
- }
228
// add zlib.pc into pkg-config's search path
229
// this is only needed when libz-sys builds zlib from source
230
if let Ok(zlib_root_dir) = env::var("DEP_Z_ROOT") {
0 commit comments