Skip to content

Commit 69b139b

Browse files
committed
fix ranlib staled stamp issue
1 parent aaa89d1 commit 69b139b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/install.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (supported_os.indexOf(process.platform) < 0) {
2424
}
2525
var is_windows = process.platform === "win32";
2626

27-
process.env.BS_RELEASE_BUILD = "true";
27+
2828

2929
var ninja_bin_output = path.join(root_dir, process.platform, "ninja.exe");
3030

@@ -38,6 +38,7 @@ function provideNinja() {
3838
var ninja_source_dir = path.join(root_dir, "vendor", "ninja");
3939
function build_ninja() {
4040
console.log(`building ninja`);
41+
ensureExists(ninja_source_dir);
4142
cp.execSync(`tar xzvf ../ninja.tar.gz`, {
4243
cwd: ninja_source_dir,
4344
stdio: [0, 1, 2]

scripts/ninja.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ rule gcc
16131613
command = $ocamlopt -ccopt -fPIC -ccopt -O2 -ccopt -o -ccopt $out -c $in
16141614
build stubs/ext_basic_hash_stubs.o : gcc stubs/ext_basic_hash_stubs.c
16151615
rule ocamlmklib
1616-
command = $ocamlmklib $in -o $name
1616+
command = $ocamlmklib -v $in -o $name && touch $out
16171617
16181618
rule mk_keywords
16191619
command = $ocaml $in

0 commit comments

Comments
 (0)