diff options
Diffstat (limited to 'mesonbuild/modules/unstable_external_project.py')
-rw-r--r-- | mesonbuild/modules/unstable_external_project.py | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/mesonbuild/modules/unstable_external_project.py b/mesonbuild/modules/unstable_external_project.py index 4e3d6db..164af9b 100644 --- a/mesonbuild/modules/unstable_external_project.py +++ b/mesonbuild/modules/unstable_external_project.py @@ -227,15 +227,16 @@ class ExternalProject(NewExtensionModule): if self.verbose: cmd.append('--verbose') - target_kwargs = {'output': f'{self.name}.stamp', - 'depfile': f'{self.name}.d', - 'command': cmd + ['@OUTPUT@', '@DEPFILE@'], - 'console': True, - } - self.target = build.CustomTarget(self.name, - self.subdir.as_posix(), - self.subproject, - target_kwargs) + self.target = build.CustomTarget( + self.name, + self.subdir.as_posix(), + self.subproject, + cmd + ['@OUTPUT@', '@DEPFILE@'], + [], + [f'{self.name}.stamp'], + depfile=f'{self.name}.d', + console=True, + ) idir = build.InstallDir(self.subdir.as_posix(), Path('dist', self.rel_prefix).as_posix(), |