Skip to content

Commit 3014359

Browse files
committed
msvc: fix test.
* msvc/compilation.m4sh: Don't play stupidly with PATH, since cl.exe will call cl.exe itself, instead of finding the true compiler.
1 parent ef6a6bd commit 3014359

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

msvc/compilation.m4sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ medir=$(absolute "$0").dir
66
mkcd $medir
77

88
case $host in
9-
(*mingw32) export PATH=$abs_srcdir/msvc:$PATH
10-
cc=cl.exe
9+
(*mingw32) cc=$abs_srcdir/msvc/cl.exe
1110
exeext=.exe
1211
objext=.obj;;
1312
(*) cc=g++

0 commit comments

Comments
 (0)