aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-10 11:36:17 -0700
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-08-20 18:57:19 +0200
commitd754ee1a7fb2c0d82ed0fe33ebe7c0c6571f79d3 (patch)
tree83226d5f1cd600ba14a6492e3695eb54bd5fde12
parente08f896802b29441d69d0a2d6ffd8746bd8f5728 (diff)
downloadmeson-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.py2
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