aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-09-20 14:08:48 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-09-20 14:08:48 +0300
commit77c14525c39b9f1e020cd48827127d0a65deb59c (patch)
treeadf11d03c5f00c371b6e6dff73025d586cfb0af0 /build.py
parentdbb72bfd1293eb7d6e0698f6205ed0cbff0cbf6f (diff)
downloadmeson-77c14525c39b9f1e020cd48827127d0a65deb59c.zip
meson-77c14525c39b9f1e020cd48827127d0a65deb59c.tar.gz
meson-77c14525c39b9f1e020cd48827127d0a65deb59c.tar.bz2
Autodetect runnable commands on unix (where chmod values might be wrong) and Windows (where files with weird suffixes are unrunnable.
Diffstat (limited to 'build.py')
-rw-r--r--build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.py b/build.py
index 3e9d79c..eda2ac0 100644
--- a/build.py
+++ b/build.py
@@ -710,7 +710,7 @@ class CustomTarget:
if isinstance(c, str):
final_cmd.append(c)
elif isinstance(c, dependencies.ExternalProgram):
- final_cmd.append(c.get_command())
+ final_cmd += c.get_command()
elif isinstance(c, BuildTarget) or isinstance(c, CustomTarget):
self.dependencies.append(c)
# GIR scanner will attempt to execute this binary but