aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorNiklas Claesson <nicke.claesson@gmail.com>2018-05-01 13:51:55 +0200
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-05-01 11:51:55 +0000
commit4f4cdee6876148b14a430e5886fec45299bb0573 (patch)
treef5dbe7faf3f6eb531f218928447fb250e0805e1f /mesonbuild/build.py
parent8c381e1786d0fbeb2136187c6d98f4000e8962bf (diff)
downloadmeson-4f4cdee6876148b14a430e5886fec45299bb0573.zip
meson-4f4cdee6876148b14a430e5886fec45299bb0573.tar.gz
meson-4f4cdee6876148b14a430e5886fec45299bb0573.tar.bz2
Allow custom_target do depend on indexed output of custom_target
Fixes: #3494
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 352f857..3d531d1 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1974,7 +1974,7 @@ def get_sources_string_names(sources):
s = s.held_object
if isinstance(s, str):
names.append(s)
- elif isinstance(s, (BuildTarget, CustomTarget, GeneratedList)):
+ elif isinstance(s, (BuildTarget, CustomTarget, CustomTargetIndex, GeneratedList)):
names += s.get_outputs()
elif isinstance(s, File):
names.append(s.fname)