diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-10 11:36:17 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-20 18:57:19 +0200 |
commit | d754ee1a7fb2c0d82ed0fe33ebe7c0c6571f79d3 (patch) | |
tree | 83226d5f1cd600ba14a6492e3695eb54bd5fde12 | |
parent | e08f896802b29441d69d0a2d6ffd8746bd8f5728 (diff) | |
download | meson-d754ee1a7fb2c0d82ed0fe33ebe7c0c6571f79d3.zip meson-d754ee1a7fb2c0d82ed0fe33ebe7c0c6571f79d3.tar.gz meson-d754ee1a7fb2c0d82ed0fe33ebe7c0c6571f79d3.tar.bz2 |
build: Fix CustomTarget initializer annotation
the `output` parameter is a string, not an int.
-rw-r--r-- | mesonbuild/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index dbd98e4..afe8526 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2567,7 +2567,7 @@ class CustomTargetIndex(HoldableObject): the sources. """ - def __init__(self, target: CustomTarget, output: int): + def __init__(self, target: CustomTarget, output: str): self.typename = 'custom' self.target = target self.output = output |