diff options
-rw-r--r-- | mesonbuild/modules/gnome.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 43a9d1c..4dc29c3 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -935,6 +935,8 @@ This will become a hard error in the future.''') 'build_by_default': build_by_default } targets.append(build.CustomTarget(output, state.subdir, state.subproject, custom_kwargs)) + + objects = targets else: if 'docbook' in kwargs: docbook = kwargs['docbook'] @@ -961,7 +963,8 @@ This will become a hard error in the future.''') targets = [ct, ct] if 'docbook' in kwargs: targets.append(ct) - return ModuleReturnValue(targets, [ct]) + objects = [ct] + return ModuleReturnValue(targets, objects) @permittedKwargs({'sources', 'c_template', 'h_template', 'install_header', 'install_dir', 'comments', 'identifier_prefix', 'symbol_prefix', 'eprod', 'vprod', |