diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-25 22:25:16 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-26 00:01:23 +0200 |
commit | 4694548dacc088c2993754f154d45abd409c255c (patch) | |
tree | 9fe70f5547b644c206016ec404a56700a9ea2c69 | |
parent | 3b6426198f17132f5d986ffe9420d80dd33e882f (diff) | |
download | meson-dmddebug.tar.gz |
Test2.dmddebug
-rw-r--r-- | azure-pipelines.yml | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/base.py | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 23cbda7cb..fa24b32a1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -82,6 +82,7 @@ jobs: displayName: Install Dependencies - script: | set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32 + cp /usr/bin/python3.5 /usr/bin/python3 env.exe -- python3.5 run_tests.py --backend=ninja displayName: Run Tests - task: CopyFiles@2 diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py index f4e47cf5d..ab7ea545d 100644 --- a/mesonbuild/dependencies/base.py +++ b/mesonbuild/dependencies/base.py @@ -1801,6 +1801,11 @@ class ExternalProgram: # Windows does not ship python3.exe, but we know the path to it if len(commands) > 0 and commands[0] == 'python3': commands = mesonlib.python_command + commands[1:] + elif mesonlib.is_cygwin(): + for i in commands: + if 'python3' in i: + commands = mesonlib.python_command + break elif mesonlib.is_haiku(): # Haiku does not have /usr, but a lot of scripts assume that # /usr/bin/env always exists. Detect that case and run the |