File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -56,21 +56,20 @@ exports.getVersionPrefix = getVersionPrefix;
5656function build ( config ) {
5757 ensureOCamlExistsSync ( ) ;
5858
59- var prefix =
60- process . env . ESY === "true"
61- ? process . env . cur__install
62- : path . normalize (
63- path . join ( __dirname , ".." , "native" , getVersionPrefix ( ) )
64- ) ;
65- if ( config && process . env . ESY !== "true" ) {
66- cp . execSync (
67- "./configure -prefix " +
68- prefix +
69- " -no-ocamlbuild -no-curses -no-graph -no-pthread -no-debugger && make clean" ,
70- { cwd : ocamlSrcDir , stdio : [ 0 , 1 , 2 ] }
71- ) ;
72- }
7359 if ( process . env . ESY !== "true" ) {
60+ var prefix = path . normalize (
61+ path . join ( __dirname , ".." , "native" , getVersionPrefix ( ) )
62+ ) ;
63+
64+ if ( config ) {
65+ cp . execSync (
66+ "./configure -prefix " +
67+ prefix +
68+ " -no-ocamlbuild -no-curses -no-graph -no-pthread -no-debugger && make clean" ,
69+ { cwd : ocamlSrcDir , stdio : [ 0 , 1 , 2 ] }
70+ ) ;
71+ }
72+
7473 cp . execSync ( "make -j9 world.opt && make install " , {
7574 cwd : ocamlSrcDir ,
7675 stdio : [ 0 , 1 , 2 ]
You can’t perform that action at this time.
0 commit comments