From f431cff809ec7159c26792e96055747c724e669c Mon Sep 17 00:00:00 2001 From: Rachel Mant Date: Sat, 17 Aug 2019 19:12:56 +0100 Subject: Make .extract_objects() work correctly as an input to custom_target --- mesonbuild/backend/backends.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesonbuild/backend') diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 8c2752a..40f9411 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -918,6 +918,8 @@ class Backend: fname = [os.path.join(self.get_target_dir(i), p) for p in i.get_outputs()] elif isinstance(i, build.GeneratedList): fname = [os.path.join(self.get_target_private_dir(target), p) for p in i.get_outputs()] + elif isinstance(i, build.ExtractedObjects): + fname = [os.path.join(self.get_target_private_dir(i.target), p) for p in i.get_outputs(self)] else: fname = [i.rel_to_builddir(self.build_to_src)] if target.absolute_paths: -- cgit v1.1