Skip to content

Commit ccd86bc

Browse files
authored
Fixed Additional CPPFLAGS (#493)
Signed-off-by: Redfire <redfire75369@hotmail.com>
1 parent c715ae4 commit ccd86bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mozjs-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mozjs_sys"
33
description = "System crate for the Mozilla SpiderMonkey JavaScript engine."
44
repository.workspace = true
5-
version = "0.128.0-6"
5+
version = "0.128.0-7"
66
authors = ["Mozilla"]
77
links = "mozjs"
88
build = "build.rs"

mozjs-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ fn build_spidermonkey(build_dir: &Path) {
303303
}
304304
if let Ok(include) = std::env::var("DEP_Z_INCLUDE") {
305305
cppflags.push(format!("-I{include}").replace("\\", "/"));
306+
cppflags.push(" ");
306307
}
307308
cppflags.push(get_cc_rs_env_os("CPPFLAGS").unwrap_or_default());
308309
cmd.env("CPPFLAGS", cppflags);

0 commit comments

Comments
 (0)