aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-04-08 21:08:33 +0300
committerGitHub <noreply@github.com>2017-04-08 21:08:33 +0300
commitaad21d26393326b61eefaef837aedb17e494f5ee (patch)
tree673663f68cd77f790cea2e11f1e48bdca0115f5e /mesonbuild/backend/ninjabackend.py
parentaf820b77d88be0865169aa7f2f66a60f41675825 (diff)
parent44c54affda4526a90e20d457786fa6fc2d3cbe06 (diff)
downloadmeson-aad21d26393326b61eefaef837aedb17e494f5ee.zip
meson-aad21d26393326b61eefaef837aedb17e494f5ee.tar.gz
meson-aad21d26393326b61eefaef837aedb17e494f5ee.tar.bz2
Merge pull request #1567 from jon-turney/cygwin
Add Cygwin support
Diffstat (limited to 'mesonbuild/backend/ninjabackend.py')
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index bc51ace..3143970 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -492,7 +492,7 @@ int dummy;
# the project, we need to set PATH so the DLLs are found. We use
# a serialized executable wrapper for that and check if the
# CustomTarget command needs extra paths first.
- if target.capture or (mesonlib.is_windows() and
+ if target.capture or ((mesonlib.is_windows() or mesonlib.is_cygwin()) and
self.determine_windows_extra_paths(target.command[0])):
exe_data = self.serialise_executable(target.command[0], cmd[1:],
# All targets are built from the build dir