Skip to content

Commit 799b96f

Browse files
committed
Also skip VS activation if gcc is found.
1 parent 7e7a232 commit 799b96f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mesonbuild/mesonmain.py

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def setup_vsenv():
4646
# If an existing build tool chain exists in PATH -> do nothing.
4747
if shutil.which('cc'):
4848
return
49+
if shutil.which('gcc'):
50+
return
4951
if shutil.which('clang'):
5052
return
5153
if shutil.which('clang-cl'):

0 commit comments

Comments
 (0)