diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-15 13:35:46 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-15 14:58:43 +0530 |
commit | d5f7ba862bb37ad75b68e007b8b55f40b6f6fd19 (patch) | |
tree | 67f17d6ba20b1cdbbc3499c4f74f60a2c51aba4e /mesonbuild/modules/gnome.py | |
parent | de0ce7f25c1bc1038fdca66237281722eca64494 (diff) | |
download | meson-d5f7ba862bb37ad75b68e007b8b55f40b6f6fd19.zip meson-d5f7ba862bb37ad75b68e007b8b55f40b6f6fd19.tar.gz meson-d5f7ba862bb37ad75b68e007b8b55f40b6f6fd19.tar.bz2 |
gnome.mkenums: Use absolute paths for all commandline args
Closes #973
test cases/vala/8 generated sources/ tests this.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 6ddfb85..eca894a 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -799,7 +799,7 @@ can not be used with the current version of glib-compiled-resources, due to install_header = False for arg, value in kwargs.items(): if arg == 'sources': - sources = [value] + sources + raise AssertionError("sources should've already been handled") elif arg == 'c_template': c_template = value if 'template' in kwargs: @@ -883,7 +883,8 @@ can not be used with the current version of glib-compiled-resources, due to 'command': cmd } custom_kwargs.update(kwargs) - return build.CustomTarget(output, state.subdir, custom_kwargs) + return build.CustomTarget(output, state.subdir, custom_kwargs, + absolute_paths=True) def genmarshal(self, state, args, kwargs): if len(args) != 1: |