aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-02-16 19:55:46 -0500
committerEli Schwartz <eschwartz@archlinux.org>2022-02-16 23:00:31 -0500
commit9daaece7850cdd378163cd50bc524693f5294309 (patch)
tree80ca0ec55fbe6829f99e84fdfa3a1415985c3351 /mesonbuild/build.py
parent0d6972887f1b7d39524c5faff0b3c8612b5d0ece (diff)
downloadmeson-9daaece7850cdd378163cd50bc524693f5294309.zip
meson-9daaece7850cdd378163cd50bc524693f5294309.tar.gz
meson-9daaece7850cdd378163cd50bc524693f5294309.tar.bz2
flake8: fix various whitespace errors with badly aligned code
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 0ffb629..c77c420 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -1345,8 +1345,8 @@ You probably should put it in link_with instead.''')
if isinstance(t, (CustomTarget, CustomTargetIndex)):
if not t.should_install():
mlog.warning(f'Try to link an installed static library target {self.name} with a'
- 'custom target that is not installed, this might cause problems'
- 'when you try to use this static library')
+ 'custom target that is not installed, this might cause problems'
+ 'when you try to use this static library')
elif t.is_internal():
# When we're a static library and we link_with to an
# internal/convenience library, promote to link_whole.
@@ -1600,12 +1600,12 @@ You probably should put it in link_with instead.''')
link_target.force_soname = True
else:
mlog.deprecation(f'target {self.name} links against shared module {link_target.name}, which is incorrect.'
- '\n '
- f'This will be an error in the future, so please use shared_library() for {link_target.name} instead.'
- '\n '
- f'If shared_module() was used for {link_target.name} because it has references to undefined symbols,'
- '\n '
- 'use shared_libary() with `override_options: [\'b_lundef=false\']` instead.')
+ '\n '
+ f'This will be an error in the future, so please use shared_library() for {link_target.name} instead.'
+ '\n '
+ f'If shared_module() was used for {link_target.name} because it has references to undefined symbols,'
+ '\n '
+ 'use shared_libary() with `override_options: [\'b_lundef=false\']` instead.')
link_target.force_soname = True
class Generator(HoldableObject):