diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-05-23 21:56:12 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-05-23 21:33:24 +0100 |
| commit | 799b96f75337d2e02b29af0ac54ed5f599b2b06e (patch) | |
| tree | 955785f9b4a12e87b5afbc9248c6f29014fdbfb5 /mesonbuild | |
| parent | 7e7a23293b165313412771997fceda376c1e57eb (diff) | |
| download | meson-799b96f75337d2e02b29af0ac54ed5f599b2b06e.tar.gz | |
Also skip VS activation if gcc is found.
Diffstat (limited to 'mesonbuild')
| -rw-r--r-- | mesonbuild/mesonmain.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index ce59ba438..f5be6c35e 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'): |
