Skip to content

Commit 7141822

Browse files
authored
Rebuild when MOZJS_ options are changed (#517)
Emit the `rerun-if-changed` lines for publicly documented MOZJS options. Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
1 parent 118aae2 commit 7141822

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mozjs-sys/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ const ENV_VARS: &'static [&'static str] = &[
2828
"CXXFLAGS",
2929
"MAKE",
3030
"MOZTOOLS_PATH",
31+
"MOZJS_ARCHIVE",
32+
"MOZJS_CREATE_ARCHIVE",
3133
"MOZJS_FORCE_RERUN",
34+
"MOZJS_FROM_SOURCE",
3235
"PYTHON",
3336
"STLPORT_LIBS",
3437
];

0 commit comments

Comments
 (0)