diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-07-27 03:11:50 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-07-27 03:11:50 +0300 |
commit | af0ca6751a9b8d1c9ad643602b7d699ed8bc7a76 (patch) | |
tree | 6706b9ee8cde2723d62867e30ce336af50d6a401 /build.py | |
parent | bae850775328650c3fc326221a97cf74ea3f04c3 (diff) | |
download | meson-af0ca6751a9b8d1c9ad643602b7d699ed8bc7a76.zip meson-af0ca6751a9b8d1c9ad643602b7d699ed8bc7a76.tar.gz meson-af0ca6751a9b8d1c9ad643602b7d699ed8bc7a76.tar.bz2 |
Made all unit tests pass again.
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -637,8 +637,11 @@ class CustomTarget: self.dependencies.append(c) # GIR scanner will attempt to execute this binary but # it assumes that it is in path, so always give it a full path. - totarget = os.path.join('.', c.get_subdir(), c.get_filename()) - final_cmd.append(totarget) + tmp = c.get_filename() + if isinstance(tmp, str): + tmp =[tmp] + totarget = [os.path.join('.', c.get_subdir(), i) for i in tmp] + final_cmd += totarget elif isinstance(c, list): # Hackety hack, only supports one level of flattening. Should really # work to arbtrary depth. |