Skip to content

Commit bed7fda

Browse files
kit-ty-kateaantron
authored andcommitted
Fix make call in Cygwin environment
1 parent 517cbcb commit bed7fda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/c/dune

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"sh configure --host `ocamlc -config | awk '/host/ {print $NF}'` \
2626
'CC=%{cc}' CFLAGS=-DNDEBUG --silent --enable-silent-rules")
2727
(ignore-outputs (bash
28-
"%{make} V=0 -j 4 -o aclocal.m4 -o Makefile.in -o configure \
28+
"$([ '%{os_type}' = Unix ] && echo %{make} || echo make) V=0 -j 4 \
29+
-o aclocal.m4 -o Makefile.in -o configure \
2930
-o configure.status -o Makefile libuv.la"))
3031
(ignore-outputs (bash
3132
"sh libtool --silent --no-warnings --mode install cp libuv.la `pwd`"))))

0 commit comments

Comments
 (0)