aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonmain.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/mesonmain.py')
-rw-r--r--mesonbuild/mesonmain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py
index ce59ba4..f5be6c3 100644
--- a/mesonbuild/mesonmain.py
+++ b/mesonbuild/mesonmain.py
@@ -46,6 +46,8 @@ def setup_vsenv():
# If an existing build tool chain exists in PATH -> do nothing.
if shutil.which('cc'):
return
+ if shutil.which('gcc'):
+ return
if shutil.which('clang'):
return
if shutil.which('clang-cl'):