aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2019-07-10 13:26:43 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2019-07-10 15:01:18 -0400
commitd8b3af00aca3a2825d199367d588a4b24e5ab779 (patch)
tree717cdba9d765c64a2e9312b56d698793dfb8bca2
parent12d4031f52a8c09014a840b2cf263478602618d0 (diff)
downloadmeson-d8b3af00aca3a2825d199367d588a4b24e5ab779.zip
meson-d8b3af00aca3a2825d199367d588a4b24e5ab779.tar.gz
meson-d8b3af00aca3a2825d199367d588a4b24e5ab779.tar.bz2
vs backend: commandrunner.py takes source dir first
-rw-r--r--mesonbuild/backend/vs2010backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 0ada941..82fc0cf 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -524,8 +524,8 @@ class Vs2010Backend(backends.Backend):
cmd_raw = [target.command] + target.args
cmd = python_command + \
[os.path.join(self.environment.get_script_dir(), 'commandrunner.py'),
- self.environment.get_build_dir(),
self.environment.get_source_dir(),
+ self.environment.get_build_dir(),
self.get_target_dir(target)] + self.environment.get_build_command()
for i in cmd_raw:
if isinstance(i, build.BuildTarget):